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

Getting ImportError, even after adding pwd to PYTHONPATH env variable #3

Closed
rishj97 opened this issue May 20, 2019 · 2 comments
Closed

Comments

@rishj97
Copy link

rishj97 commented May 20, 2019

image

@successar
Copy link
Owner

Just to confirm -- Can you import import Transparency and import Transparency.model ? If yes, the problem could that I didn't add __init__.py files in other folder I import from . I have added them now. Please update your clone and let me know if it works.

@rishj97
Copy link
Author

rishj97 commented May 20, 2019

Added this to the train_and_run_experiments_bc.py and it worked.

import sys

sys.path.append('/Users/location-of-Transparency-dir/')

@rishj97 rishj97 closed this as completed Jun 12, 2019
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

2 participants