-
$ mkdir ~/my_projectCreate project directory under user home. $ cd ~/my_project-
$ git initCreate git repo. -
$ python -m venv venvCreate virtual environment within the project directory. Preferred over a centralised virtual environments directory e.g.my_venvs/my_projectas it is easier to find and manage. Not a hidden directory e.g..venvfor visibility. -
$ source venv/bin/activate5a.$ source venv/Scripts/activatefor Python 3.9+ -
$ pip install pip --upgradeBecause for some reason the virtual environment's pip is an older version?! Hints of Python dependency hell emerging.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)