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 trialJeremy Cornwell
11,106 PointsNot a recognized command when activating venv
c:\Python34\Lib\venv\scripts\activate returns the following "is not recognized as an internal or external command, operable program or batch file." I'm trying to figure out what I'm not doing correctly.
To the best of my knowledge, I've been able to complete everything up to the activation point.
2 Answers
Colton Ehrman
Courses Plus Student 5,859 PointsIs "c:\Python34\Lib\venv\scripts\activate" the command you are trying to run in command prompt? Not too familiar with command prompt, but I would have to guess that activate is the "file" you want to run and files always end with a .filetype.
Try specifying the .filetype, so if activate was a .py file you would do "c:\Python34\Lib\venv\scripts\activate.py"
Now if activate is not a file and instead a folder, then it cannot be "ran" because it is a folder and doesn't have any contents, just other files/folders
Jeremy Cornwell
11,106 PointsFrom my understanding its a .bat file and I've tried the extension with the same result.