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

PYTHONPATH to import caffe module #2819

Closed
sdemyanov opened this issue Jul 26, 2015 · 3 comments
Closed

PYTHONPATH to import caffe module #2819

sdemyanov opened this issue Jul 26, 2015 · 3 comments

Comments

@sdemyanov
Copy link

In the tutorial it is written that "The module dir caffe/python/caffe should be installed in your PYTHONPATH for import caffe". However, when this path is added, a number of errors appear during the IPython initialization due to the confusion with internal io.py file. It seems like the actual path should be "caffe/python", in this case the initialization works well, and the "caffe" module can be correctly found.

@seanbell
Copy link

Which tutorial says this? The installation instructions (http://caffe.berkeleyvision.org/installation.html) correctly suggest export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH

@sdemyanov
Copy link
Author

It is on the interfaces page http://caffe.berkeleyvision.org/tutorial/interfaces.html

@shelhamer
Copy link
Member

Thanks, I've made this more clear in de6d444 by using the same language as the installation page.

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

No branches or pull requests

3 participants