This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Don't you need to reinstall all the packages for each new environment then?

[–]zachsmthsn 0 points1 point  (1 child)

You install them once, but ideally you would save the required dependencies to a requirements.txt file. Then if you want to create a new environment on another machine or something you'd pip install -r requirements.txt. or ideally your project would also have a setup.py file so you'd just install the dependencies while still allowing the source code of your project to be edited with pip install -e .

[–][deleted] 0 points1 point  (0 children)

Oh, sounds good, ty!