0

I have saw a question about activating virtualenv in Django (Virtual Environment), I took action with the first answer. Here's the link: How to activate Virtual Environment in DJango The answer is for "Shariful Islam"... The first step was this:

cd C:\Users\User\Desktop\UserDjangoProject> pip install virtualenv

I wasn't able to operate this command in CMD (as he said at the answer's heading). Can anyone help me in that?

1 Answers1

0

Yes, the correct code is : cd Desktop\UserDjangoProject and press ENTER.

To get out of the folder in cmd, press cd .. (two dots)

ps: You dont need to get into your folder to pip install something.

Best regards.

  • Thank you. I realized that I had to install virtualenv first, then cd to the actual project directory, and then use the activate script and install Django. Once done, it was finally the time to start the Django project. – Hassan Khalloof Feb 27 '21 at 10:33