3 ms·
How did you tell other people/noobs to run your python code (or how did you run it yourself after 5+ years of not touching older projects)?
by bboygravity 1y ago
How did you tell other people/noobs to run your python code (or how did you run it yourself after 5+ years of not touching older projects)?
- x187463 1y agorun script "missing x..." pip install x run script "missing y..." pip install y > y not found google y to find package name pip install ypackage > conflict with other package realize I forgot a venv and have contaminated my system python check pip help output to remember how to uninstall a package clean up system python create venv at cwd start over ... </end of time>
- SAI_Peregrinus 1y agoThankfully some newer systems will error by default if you try to mess with them via pip instead of your system's package manager. Easy to override if you want to, and saves a lot of effort fixing accidental screw ups.
- psunavy03 1y ago>realize I forgot a venv and have contaminated my system python >check pip help output to remember how to uninstall a package >clean up system python >create venv at cwd >start over This hits disturbingly close to home.
- whattheheckheck 1y agoThis is like seeing someone complain they have to turn their computer on to do work