Created
March 27, 2019 18:01
-
-
Save saml/482eb88bc1da1fa4c955d952bbc03b0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree | |
. | |
├── bar | |
│ └── a | |
│ ├── c.py | |
│ └── __init__.py | |
└── foo | |
└── a | |
├── b.py | |
└── __init__.py | |
$ PYTHONPATH=foo:bar python -c 'import a.c' | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
ImportError: No module named c | |
$ PYTHONPATH=bar:foo python -c 'import a.c' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment