Search Results
6/21/2025, 9:46:02 PM
>>105664190
How to succeed with python:
1. install miniconda
2. clone the project
3. conda create -n my_new_project python=3.11
4. conda activate my_new_project
5. python3 pip install -r requirements.txt
Consistently using a conda env takes care of 90% of the usual python headaches. The rest come down to shitty/old projects that lazily spew out a requrirements.txt from pip that pins everything unnecessarily to a version, and shitty/old projects that assume CUDA 11 - especially when inside a container.
How to succeed with python:
1. install miniconda
2. clone the project
3. conda create -n my_new_project python=3.11
4. conda activate my_new_project
5. python3 pip install -r requirements.txt
Consistently using a conda env takes care of 90% of the usual python headaches. The rest come down to shitty/old projects that lazily spew out a requrirements.txt from pip that pins everything unnecessarily to a version, and shitty/old projects that assume CUDA 11 - especially when inside a container.
Page 1