digitalbrain79 / pyyolo

Simple python wrapper for YOLO.
126 stars 65 forks source link

ModuleNotFoundError: No module named 'pyyolo' #39

Open xuesongle opened 6 years ago

xuesongle commented 6 years ago

@digitalbrain79 @jasrk11 @oulutan @rayhou0710 I followed the instructions as follow: git clone --recursive git@github.com:rayhou0710/pyyolo.git make rm -rf build python setup_gpu.py build sudo python setup_gpu.py install

Test

python example.py

Error here: Traceback (most recent call last): File "example.py", line 1, in import pyyolo ModuleNotFoundError: No module named 'pyyolo'

Any clue on how this error is made, Thanks.

lesreaper commented 6 years ago

Same +1, both on Mac and Ubuntu

KratosOmega commented 5 years ago

same +1, any idea?

Kobzol commented 5 years ago

You have to make sure that pyyolo is installed correctly in the Python paths. I installed it into a virtualenv and it worked without a problem, I think it's a path issue. Try checking your PYTHONPATH (or sys.path), whether it contains a folder where pyyolo is installed.

lesreaper commented 5 years ago

Came back to this and it's still an issue. @Kobzol , what do you mean about the PythonPath? Why should that matter for PyYolo?

Kobzol commented 5 years ago

This error means that pyyolo was not found in module path, therefore the path where it's installed is not in PYTHONPATH.

lesreaper commented 5 years ago

Thanks @Kobzol . Unfortunately, I couldn't get in the proper path or the module to run. I switched over to another implementation.

camilosilva91 commented 5 years ago

I have the same issue, and I noticed that the default installation in Ubuntu 16.04 used python3.5, but running the example python3 example.py uses the version of python 3.7. Does anyone know how to specify in which version of python to install it?