Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Using virtualenv

Justo Montoya
Justo Montoya
3,799 Points

having trouble setting up virtualenv

Hey guys I don't have much experience using the command line.

I have windows 10

so far i have done:

-pip install virtualenv

i've located where the download is located: -C:\Users\username\AppData\Local\Programs\Python\Python35-32\Lib\site-packages

I don't understand the parts about assigning the path to a variable like Kenneth does in the video. I get an error when I try it.

and then I try typing the data path (C:\Users\username\AppData\Local\Programs\Python\Python35-32\Lib\site-packages)


the command in the teacher's notes (\to\venv\Scripts\activate)

to activate virtualenv but I keep getting errors.

Povilas Jurgaitis
Povilas Jurgaitis
6,792 Points

I have same issue. I do not understand what is required to do next after virtualenv is installed. I am using windows 10 command promt. I went through many other tutorials on how to set up virtualenv and activate it, but in one step or another I always get error or something that I can't follow that guide and that's it. I'm stuck. I tried various commands. Adding various file directories. with activate.bat etc.. I just don't understand. And guides explaining things speak in such a difficult terms as I am new with command promt commands n how it works.

1 Answer