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

Namespace packages don't work on older Pythons #1

Closed
jaraco opened this issue Jul 19, 2016 · 0 comments
Closed

Namespace packages don't work on older Pythons #1

jaraco opened this issue Jul 19, 2016 · 0 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Jul 19, 2016

Due to the way pip installs namespace packages, relying on .pth files to satisfy namespace packages, and because .pth files are only honored in site-packages, rwt cannot load packages that are namespace packages on older Pythons like 2.7.

$ python3.5 -m rwt backports.functools_lru_cache -- -c "import backports"
Loading requirements using backports.functools_lru_cache
$ python2.7 -m rwt backports.functools_lru_cache -- -c "import backports"
Loading requirements using backports.functools_lru_cache
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named backports
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

1 participant