Neptunas
Neptunas

Reputation: 150

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]

Upvotes: 5

Views: 2149

Answers (2)

Neptunas
Neptunas

Reputation: 150

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

setprojectdir [path to the project folder]

Upvotes: 9

phd
phd

Reputation: 94473

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

Upvotes: 3

Related Questions