Met import SourceDistribution error when I ran pip in virtualenv.
See original GitHub issue- Pip version: pip 20.0
- Python version:Python 2.7.16
- Operating system:CentOS release 6.3 (Final)
After I made a virtualenv environment by such commands below:
shell pip install virtualenv
shell python -m virtualenv --no-site-packages venv
shell source venv/bin/activate
My pip environments went down like this:
Do anyone know how to solve such problem?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'SourceDistribution' from 'pip ...
When using venv in Python 3.6+ on Ubuntu/LXC with a self-install/self-upgrading pip command during execution, you can use get-pip.py instead ...
Read more >Python Virtual Environments: A Primer
In this tutorial, you'll learn how to use a Python virtual environment to manage your Python projects. You'll also dive deep into the ......
Read more >Installing Python Modules for Kalpana
When I ran: pip install fiona. I ran into the following error message: /usr/bin/pip:5: UserWarning: Module dap was already imported from ...
Read more >Disable pip Outside of Virtual Environments
And, especially at the beginning, I kept forgetting to activate the virtual environment before I cheerfully ran pip install a-package .
Read more >Installation — pygit2 1.11.0 documentation
It is recommended to first update the version of pip, as it will increase the chances for it to install a binary wheel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as duplicate.
#7620