pip freeze > requirements.txt10 May 2024
How to output or create the requirements.txt file which is a list of all the needed software?
https://stackoverflow.com/questions/29715249/is-there-any-way-to-output-requirements-txt-automatically
09 May 2024
How to create a virtual environment with preinstalled packages as in requirements.txt
https://stackoverflow.com/questions/41427500/creating-a-virtualenv-with-preinstalled-packages-as-in-requirements-txt
$ git clone <repo>
$ cd <repo>
$ sudo apt install python3-venv (if you don't already have virtualenv installed)
$ python3 -m venv venv/ to create your new environment (called 'venv/' here)
$ source venv/bin/activate to enter the virtual environment
$ pip install -r requirements.txt to install the requirements in the current environment
28 April 2024
exception can not find valid pkg-config name when installing mysql with pip
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential
24 April 2024
14 April 2024
10 April 2024
Subscribe to:
Posts (Atom)