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 trialSamuel Andrei Daniel Goje
1,351 PointsCan anyone help me with this? I am experiencing problems with my vev on windows.
As the title says
2 Answers
Charlie L.
10,120 PointsYou 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.
Kenneth Love
Treehouse Guest TeacherWhen 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
?
Samuel Andrei Daniel Goje
1,351 PointsKenneth Love
Treehouse Guest TeacherYou're running those inside the Python shell. You need to run them from your Windows shell.
Salman Fakhri
2,296 Pointsim getting the same error on windows but im using cmd not the python shell
Kenneth Love
Treehouse Guest TeacherSalman 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.
Samuel Andrei Daniel Goje
1,351 PointsSamuel Andrei Daniel Goje
1,351 PointsPretty 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...