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

add the project folder to PYTHONPATH #2

Open
odomojuli opened this issue Oct 6, 2017 · 1 comment
Open

add the project folder to PYTHONPATH #2

odomojuli opened this issue Oct 6, 2017 · 1 comment

Comments

@odomojuli
Copy link

How do I perform this action?

Currently I have typed the following terminal commands:
python
import sys
sys.path.append("path/to/Modules")
print (sys.path)

@palevas
Copy link

palevas commented Nov 15, 2017

Run in terminal:
export PYTHONPATH=/path/to/StackGAN-Pytorch
or in case of non empty PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:/path/to/StackGAN-Pytorch

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