Created
April 27, 2018 04:17
-
-
Save cjmcgraw/28075d4d139a49304fe541b9cdc5ef42 to your computer and use it in GitHub Desktop.
virtualenv 101: what is this shit?
This file contains 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
# install virtualenv: If its all fucked up. uinstall it, then install it again. OSX is bullshit | |
pip install virtualenv | |
# use virtualenv. args are optional | |
virtualenv --python=python3 ./venv | |
# activate that shit dawg | |
source ./venv/bin/activate | |
# normally changes your prompt. If not, what kinda bullshit shell you using | |
# (venv) $ ... | |
# (venv) $ ... | |
# (venv) $ pip install some-whatever the fuck I want | |
# fucking bullshit installed dawg! | |
# | |
# remove it later at your discretion by exiting | |
deactivate | |
# now all your python bullshit. Including the literal python version is packaged | |
# and you don't have to be an idiot installing shit all over the fucking place. | |
# global installs. What are we fucking cavemen? | |
# | |
# you can leave all your packages exactly how you wanted them whenever you want them. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am putting this here because my company lacks sensible ways to send each other code.