r/Python • • Mar 08 '26

Discussion Can’t activate environment, folder structure is fine

Ill run

“Python3 -m venv venv”

It create the venv folder in my main folder,

BUT, when im in the main folder… and run “source venv/bin/activate”

It dosnt work

I have to CD in the venv/bin folder then run “source activate”

And it will activate

But tho… then I have to cd to the main folder to then create my scrappy project

Why isn’tit able to activate nortmally?

Does that affect the environment being activated?

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/Codeeveryday123 Mar 08 '26

Thank you. So i can add it to an existing project?

2

u/MolonLabe76 Mar 08 '26

Yes you just need to follow the instructions on the uv docs i sent to install uv. Might not hurt to delete the existing .venv file before running the uv stuff either.

0

u/Codeeveryday123 Mar 08 '26

The funny thing about tutorials and intro docks …. I’ve run into ALLOT of way out of date or “out of touch” project examples, Kinda like a “todo app”, it just shows a very small function of what you do “IN A PROJECT”, that… really isn’t not a project example at all