-1

I am new to Python and I'm following a tutorial which requires creating a virtual environment while creating a Python project,
But I am unable to create one for some reasons,
I am using the command -

mkvirtualenv djangoenv

But it displays -

bash: mkvirtualenv: command not found

Most recommended using PyCharm but, as I have work on JS as well, I wish to continue using VS Code

Following are the steps that I tried -

enter image description here

I checked, the virtualenvwrapper is installed on my machine - enter image description here

My ~/.bash_profile file, looks like this -

enter image description here

enter image description here

Dev1ce
  • 5,390
  • 17
  • 90
  • 150

2 Answers2

0

I'd recommend looking at this answer for Mac users. Be sure that the $PATH is set before sourcing virtualenvwrapper.sh in your .bash_profile

18wannerb
  • 1
  • 2
0

It seems mkvirtualenv isn't installed on your system. First of all make sure you have python and pip installed then follow this instruction. https://pypi.org/project/virtualenvwrapper-win/

vramazing
  • 94
  • 1
  • 1
  • 6
  • Hi, I doubled checked, I had installed it using the following command - `pip install virtualenvwrapper` – Dev1ce Aug 25 '19 at 06:08