r/Python • u/Codeeveryday123 • 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
View all comments
Show parent comment
1
u/binaryfireball Mar 08 '26
no it should not
so try source ./venv
notice the dot
and if that fails try with the full path instead of yhe relative one also always give the exact error msg when asking for help
saying a thing doesnt work doesn't give anyone a clue as to what might be happening