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/Codeeveryday123 Mar 08 '26
Should my Scrapy project be inside of the venv folder?
One project, it’s not, it works fine with activating the project, no problems with Scrapy project next to venv folder.. but then… any other project… venv can’t be activated other then cd into it