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

Using examples without setup.py gives import error #52

Closed
KenT2 opened this issue Nov 5, 2015 · 1 comment
Closed

Using examples without setup.py gives import error #52

KenT2 opened this issue Nov 5, 2015 · 1 comment

Comments

@KenT2
Copy link
Contributor

KenT2 commented Nov 5, 2015

I tried using the examples without running setup.py. This gave an import error. I moved the examples up a directory level and they worked,

Is there a way change the examples such that they will do the imports across sub-directories.

@nzjrs
Copy link
Collaborator

nzjrs commented Nov 5, 2015

This is normal python package layout and behaviour. You can install REMI in a virtualenv with python setup.py develop, or you can set your pythonpath to be the current directory export PYTHONPATH=pwd:$PYTHONPATH etc

@nzjrs nzjrs closed this as completed Nov 5, 2015
@nzjrs nzjrs reopened this Nov 5, 2015
@nzjrs nzjrs closed this as completed Nov 9, 2015
@dddomodossola dddomodossola reopened this Nov 9, 2015
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

3 participants