Issues while creating virtual environment before installing Django

17 views
Skip to first unread message

Mahesh Kumar

unread,
Jul 17, 2019, 11:26:04 AM7/17/19
to Django users
Hi all,
I tried to install the Django software in my Laptop command prompt, I have to create(mkvirtualenv myproject) virtual evironment. But as soon as I have entered mkvirtualenv myproject, error is looping on and showling below error. Please try to help me, how to create vritual environment. My laptop configuration is Windows 10, 8gb Ram, 1TB hard disk.

Regards,
Mahesh
error2.PNG

Mike Dewhirst

unread,
Jul 17, 2019, 7:18:08 PM7/17/19
to django...@googlegroups.com
You can make it easy for yourself by doing a batch file to automate creation of the virtualenv.

If you want I can post the one I use.


Connected by Motorola
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a8dad816-14a9-4323-8deb-395a2c42d149%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
error2.PNG

Yoo

unread,
Jul 17, 2019, 10:29:29 PM7/17/19
to Django users
Isn't Python 3.x automatically installed with virtualenv and pip?
Try this: 

virtualenv venv

Then, do: cd venv\scripts && activate
Then you can start installing packages like this: pip install django

John P

unread,
Jul 17, 2019, 11:15:38 PM7/17/19
to django...@googlegroups.com
Give pipenv a try.  Simply create the folder your going to use and navigate into that folder.  Then use pipenv install django, pipenv shell will load the virtual environment for you.  Not sure what's causing the problem but this may make your life simpler.

--
Reply all
Reply to author
Forward
0 new messages