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
Kerim Ibrahimiye
1,233 PointsCan't use pyhton on workspace for train
treehouse:~/workspace$ print "Hello World"
bash: print: command not found
treehouse:~/workspace$ printf " hi"
hitreehouse:~/workspace$ run
bash: run: command not found
treehouse:~/workspace$ ^C
1 Answer
Nicolas Bassano
2,125 PointsHi Kerim!
You need to run Python first to work with Python in workspaces.
treehouse:~/workspace$ python
Python 3.5.0 (default, Aug 18 2016, 16:49:03)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Once you get the >>> youre good to go.
Nicolas Bassano
2,125 PointsNicolas Bassano
2,125 PointsRemember to put parentheses right after print for it to work.
Cheers.