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!
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
Maya Angelica Gurgiolo4,268 Points
I can't figure out how to install pytz. In the video it says to use 'pip install pytz', but where am I supposed to type this? I've tried the Python shell, the Python command line, and Powershell. I have Python 3.4.
First, make sure both the
Python34 directory and its subdirectory
Scripts are in the PATH environment variable (there's an option to add this when installing Python).
python -m pip install pytz from Powershell or a regular command prompt.
I'm using a Mac with Python 2.7. To install pytz, I opened the program called "Terminal", and then on the first line typed
pip install pytz. If you're using a Mac, I hope this helps.
Michael Steinman11,012 Points
I'm having trouble installing this module as well. Unfortunately, I don't understand the answer given. Can someone give step by step instructions on how to do this? I'm using Python 3.5 on Windows. All I know how to do is use the shell (IDLE) and write scripts by clicking File New File from the shell.