-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ModuleNotFoundError: No module named 'pip'
with 3.x-dev on Travis CI
#1576
Comments
This looks like it coincides with the release of virtualenv 20. Passing build, yesterday: Failing build, today: |
@hugovk I don't see any virtualenv creation here, just activation? Who and where creates the virtual environments? They would need to use the pip seeder; or also cache the app-data folder, or we can copy the images. |
@BanzaiMan / @native-api Hello, please could you answer this? ^ |
I already identified the reason. @hugovk should have probably linked to that message for reference.
AFAICS, a workaround is to use For the reference, with the now-default |
@native-api you would have a few options, in an hour or so once #1579 is merged I'll release it part of
|
This now has been fixed on our side, so I'll close the issue. Once we do the bugfix release I'll come back and post a message here. |
@gaborbernat I confirm that with HEAD version, the virtualenv created with default options looks tarballable. I'm though okay with using So, what are your plans here? Do you plan to deprecate/remove |
I think the pip seeder will be kept forever... Going ahead we'll keep copy for the app-data one the default, and allow users to change to symlink manually. 🤷♂ so the plan is to keep the status quo post this release for this major version (20.x series). |
Hello, a fix for this issue has been released via virtualenv 20.0.2; see https://pypi.org/project/virtualenv/20.0.2/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-2-2020-02-11) . Please give a try and report back if your issue has not been addressed; if not, please comment here, and we'll reopen the ticket. We want to apologize for the inconvenience this has caused you and say thanks for having patience while we resolve the unexpected bugs with this new major release. |
We went the |
Confirmed working, thank you very much for the quick fix, and also for maintaining and updating virtualenv! I've seen about a 30 second speedup running tox on a Mac. |
If submitting a BUG please provide:
pip list
outputOS: Xenial
pip list: don't know, exception when running pip
.travis.yml
:Expected result
Passes
Actual result
On
3.x-dev
andnightly
, there's aModuleNotFoundError: No module named 'pip'
.https://travis-ci.org/hugovk/test/builds/648978823
Also happens without
VIRTUALENV_SEEDER=pip
.See also
https://travis-ci.community/t/python-development-versions-no-longer-include-pip/7180
The text was updated successfully, but these errors were encountered: