Python Forum
Trying to set up virtualenv for windows not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to set up virtualenv for windows not working
#1
Photo 
Hello. I am trying to learn web development using python and django. I have watched a few videos and most suggest using virtualenv. I have installed python 3.9 from windows store and did pip install virtualenv all successful. I have made a directory on my desktop where I plan to keep all my web development stuff.

I am trying to follow this guide:
https://www.codingforentrepreneurs.com/b...n-windows/
The only difference is that I have not installed the python as he did, I just installed it from windows store but I believe that should not cause any problems?

Once I am in my working directory, I am trying to set up my virtual environment :
virtualenv . 
However, with no luck.. See the url image below
https://ibb.co/9Y5PtLN

Can someone give me some tips on how to properly setup everything in my windows machine?
It seems that I have some problems with paths but im not certain how do I fix it
Reply
#2
Try: 
python3 -m virtualenv .
Reply
#3
Seems to be working. Could you explain what are the differences between these two functions?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Flask Streaming not working on IIS Windows Revencu 0 2,269 Nov-09-2019, 10:31 PM
Last Post: Revencu
  Error creating virtualenv in Windows 7 with Python36-32. djalmabright 3 4,509 Jan-28-2018, 03:53 PM
Last Post: snippsat
  Learning Python with pip, cmder and/or virtualenv... RodNintendeaux 8 8,178 Jun-05-2017, 12:07 AM
Last Post: RodNintendeaux

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020