Created
April 16, 2018 14:39
-
-
Save Manuel4131/407da9d8b43c7c2b4b0a911122e42e8b to your computer and use it in GitHub Desktop.
Common python module install & env setup
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
| virtual environment | |
| # python run module as script | |
| python -m | |
| python3 -m venv myvenv # not working on ubuntu | |
| ```error | |
| The virtual environment was not created successfully because ensurepip is not | |
| available. On Debian/Ubuntu systems, you need to install the python3-venv | |
| package using the following command. | |
| apt-get install python3-venv | |
| ```error | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| E: Unable to locate package python3-venv | |
| To be continued |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create Virtual Environment