logoalt Hacker News

bboygravitytoday at 6:47 AM1 replyview on HN

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)?


Replies

x187463today at 11:33 AM

run 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>

show 1 reply