question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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: image Do anyone know how to solve such problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sbidoulcommented, Jan 21, 2020

Closing as duplicate.

0reactions
pradyunsgcommented, Jan 21, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found