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

Donghyeok Yun
Donghyeok Yun
4,514 Points

python2 not recognized on windows 10?

So pretty much I downloaded python 3.4 and I need to use the "python2" command to run a python file. I've attached the screenshot of the problem. Can you guys help me out here, is it because my version is 3.4?

screenshot: https://drive.google.com/open?id=1yDp3jGLygxSWoqfwen5s-GPq0Rh2kasZ

1 Answer

If you need python2 to run your program, you will need to install python2.7 .

Of course, you should make sure you actually need python2, since so much software is now for python 3.