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

Can anyone help me with this? I am experiencing problems with my vev on windows.

As the title says

2 Answers

You need to give me more information. What problem do you have with it? Installing it? Activating it? Exiting it?

Most people have trouble activating it on windows. The way to do it is to specifically type out the whole address of the location of the venv and then follow it with activate.

for example: yourvenv\Scripts\activate

this will activate the venv so you can start working with it.

Pretty much installing it , reistanled python on my pc for 3 times but the pip is not working , checked everything on the internet and yet nothing works , whenever i try pip install virtualenv/pip install mistune/pip --user install mistune or anything at all it tell me that there's a syntax error...

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

When you open your shell, and you type pip, does it give you an error or show a bunch of help text? What about when you do python --version?

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

You're running those inside the Python shell. You need to run them from your Windows shell.

im getting the same error on windows but im using cmd not the python shell

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

Salman Fakhri using cmd.exe doesn't mean you're not using the Python shell. If you're seeing >>> on the left-hand side (or ...), you're in the Python shell and need to exit() before you run commands.