lamiastella

Untitled

Jul 20th, 2020
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. I have installed deeplabcut using pip but when I want to use it, I get the following error:
  2.  
  3. (base) mona@mona:~$ ipython
  4. Python 3.7.6 (default, Jan 8 2020, 19:59:22)
  5. Type 'copyright', 'credits' or 'license' for more information
  6. IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
  7.  
  8. In [1]: import deeplabcut as dlc
  9. ---------------------------------------------------------------------------
  10. ModuleNotFoundError Traceback (most recent call last)
  11. <ipython-input-1-7dc21562c90f> in <module>
  12. ----> 1 import deeplabcut as dlc
  13.  
  14. ~/anaconda3/lib/python3.7/site-packages/deeplabcut/__init__.py in <module>
  15. 29 mpl.use('Agg')
  16. 30
  17. ---> 31 from deeplabcut import generate_training_dataset
  18. 32 from deeplabcut import refine_training_dataset
  19. 33 from deeplabcut.generate_training_dataset import label_frames, dropannotationfileentriesduetodeletedimages, comparevideolistsanddatafolders, dropimagesduetolackofannotation
  20.  
  21. ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/__init__.py in <module>
  22. 16 pass
  23. 17 else:
  24. ---> 18 from deeplabcut.generate_training_dataset.auxfun_drag_label import *
  25. 19 from deeplabcut.generate_training_dataset.labeling_toolbox import *
  26. 20 from deeplabcut.generate_training_dataset.multiple_individuals_labeling_toolbox import *
  27.  
  28. ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/auxfun_drag_label.py in <module>
  29. 17
  30. 18 import numpy as np
  31. ---> 19 import wx
  32. 20
  33. 21 class DraggablePoint:
  34.  
  35. ModuleNotFoundError: No module named 'wx'
  36.  
  37. In [2]:
  38.  
  39.  
  40.  
  41.  
  42. I installed wx using the following but the error stays the same. Could you please guide me on how to fix it?
  43.  
  44. (base) mona@mona:~$ sudo apt install python-wxtools
  45. [sudo] password for mona:
  46. Reading package lists... Done
  47. Building dependency tree
  48. Reading state information... Done
  49. python-wxtools is already the newest version (3.0.2.0+dfsg-8build1).
  50. 0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded.
Add Comment
Please, Sign In to add comment