Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have installed deeplabcut using pip but when I want to use it, I get the following error:
- (base) mona@mona:~$ ipython
- Python 3.7.6 (default, Jan 8 2020, 19:59:22)
- Type 'copyright', 'credits' or 'license' for more information
- IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
- In [1]: import deeplabcut as dlc
- ---------------------------------------------------------------------------
- ModuleNotFoundError Traceback (most recent call last)
- <ipython-input-1-7dc21562c90f> in <module>
- ----> 1 import deeplabcut as dlc
- ~/anaconda3/lib/python3.7/site-packages/deeplabcut/__init__.py in <module>
- 29 mpl.use('Agg')
- 30
- ---> 31 from deeplabcut import generate_training_dataset
- 32 from deeplabcut import refine_training_dataset
- 33 from deeplabcut.generate_training_dataset import label_frames, dropannotationfileentriesduetodeletedimages, comparevideolistsanddatafolders, dropimagesduetolackofannotation
- ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/__init__.py in <module>
- 16 pass
- 17 else:
- ---> 18 from deeplabcut.generate_training_dataset.auxfun_drag_label import *
- 19 from deeplabcut.generate_training_dataset.labeling_toolbox import *
- 20 from deeplabcut.generate_training_dataset.multiple_individuals_labeling_toolbox import *
- ~/anaconda3/lib/python3.7/site-packages/deeplabcut/generate_training_dataset/auxfun_drag_label.py in <module>
- 17
- 18 import numpy as np
- ---> 19 import wx
- 20
- 21 class DraggablePoint:
- ModuleNotFoundError: No module named 'wx'
- In [2]:
- I installed wx using the following but the error stays the same. Could you please guide me on how to fix it?
- (base) mona@mona:~$ sudo apt install python-wxtools
- [sudo] password for mona:
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- python-wxtools is already the newest version (3.0.2.0+dfsg-8build1).
- 0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded.
Add Comment
Please, Sign In to add comment