Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

binding virtualenv to project using setvirtualenvproject command doesn't work (windows)

I'm trying to bind my virtualenv to django project. So when I type the command workon my_project it should cd to my django project.

(my_project) C:\User\User\Desktop\Project>
(my_project) C:\User\User\Desktop\Project>setvirtualenvproject
'setvirtualenvproject' is not recognized as an internal or external command, operable program or batch file.

Why the command doesn't work? Is there another way of binding virtualenv to my django project?

RESOLVED

I've managed to bind my virtualenv to my django project using this command

setprojectdir [path to the project folder]
like image 271
Neptunas Avatar asked Dec 14 '22 22:12

Neptunas


2 Answers

I've managed to bind my virtualenv to my django project using this command

setprojectdir [path to the project folder]
like image 111
Neptunas Avatar answered Dec 28 '22 05:12

Neptunas


setvirtualenvproject is a command from virtualenvwrapper. Do you have virtualenvwrapper-win installed?

like image 36
phd Avatar answered Dec 28 '22 07:12

phd