mkdir myproj # create new project dir.
cd myproj # change into your project dir.
pipenv --python 3.6 # create new clean virtual env.
pipenv install foo # install third party packages into your venv.
# write your code
pipenv run python myfile.py # Run your code inside the venv.
I have never understood that argument. The python import statement is not versioned, so there can be exactly one version of a dependency installed. If that makes a conflict between requirements, no amount of magical Reitzing can fix that.
21
u/leom4862 Apr 30 '18
This is my workflow for every project:
I don't think it can get much simpler than this.