Closed nyck33 closed 5 years ago
This is a strange problem. It seems that python do not find the library. This may happen if you installed the library with python 2 and then try to run the module with python 3 (or viceversa). You may have multiple versions of python installed that are in conflict.
Try to explicitly install Deepgaze in this way (run the command from the main deepgaze folder where the file setup.py
is located):
sudo python3 setup.py install
After doing this you can open python 3 in the same terminal with the command:
python3
Now in the python terminal just type the following command and then press enter:
import deepgaze
This should work without errors if the library has been correctly installed.
Thanks for the reply. I was installing in a Python 3 Conda env but I'll try again.
Steps to get it working:
conda create -n myenv python=3.5
cd deepgaze
and git checkout 2.0
python3 setup.py install
python3
to get into interactive mode and import deepgaze
with no errors. Also for step 5, 'python' and 'import deepgaze' was okay with no errors.
I get
for both notebooks in branch
2.0
, and forex_cnn_head_pose_estimation.py
.I have looked into using master branch but hesitating since installing opencv ver 2 from source is complex.
Are there any quick fixes for above issues in branch
2.0
?