Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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)

and

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