Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

Beginners • Re: Newbie Problem Installing Packages

$
0
0
Thanks All - this helps a lot
B.Goode - walking through it is great for the newbie -thanks

I still have a ways to go. I understand now that it's important to protect the OS.
For light users is it acceptable to use only one venv for all external packages?
Once a venv is created, do I run scripts from that folder?
You should create a separate venv for each project. The purpose of a venv is to isolate projects from other projects dependencies.

You don't need to run the scripts from the venv folder, you just need to activate the venv before it runs any script as that is what tells the script where python and libraries are located.

Statistics: Posted by memjr — Thu Jul 04, 2024 5:08 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles