Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pyyolo' #39

Open
xuesongle opened this issue Jun 6, 2018 · 7 comments
Open

ModuleNotFoundError: No module named 'pyyolo' #39

xuesongle opened this issue Jun 6, 2018 · 7 comments

Comments

@xuesongle
Copy link

@digitalbrain79 @jasrk11 @oulutan @rayhou0710
I followed the instructions as follow:
git clone --recursive [email protected]: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
Copy link

Same +1, both on Mac and Ubuntu

@KratosOmega
Copy link

same +1, any idea?

@Kobzol
Copy link

Kobzol commented Oct 6, 2018

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
Copy link

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
Copy link

Kobzol commented May 11, 2019

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

@lesreaper
Copy link

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

@camilosilva91
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants