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

Error when trying to set up venv in command prompt.

I'm currently getting an error when trying to set up venv as part of this video

https://teamtreehouse.com/library/virtualenv#questions

''' Microsoft Windows [Version 10.0.18363.1082] (c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Gerard McNally>cd flask_basics The system cannot find the path specified.

C:\Users\Gerard McNally>cd Treehouse

C:\Users\Gerard McNally\Treehouse>cd flask_basics

C:\Users\Gerard McNally\Treehouse\flask_basics>python -m venv fb Error: Command '['C:\Users\Gerard McNally\Treehouse\flask_basics\fb\Scripts\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.

C:\Users\Gerard McNally\Treehouse\flask_basics> '''

Thanks a lot in advance.

1 Answer