I am running Python 2.7.9 on a Windows 8 machine. I've programmed for a long time (since the 60s), but I'm having trouble figuring out how to install the Six Module. I need a step-by-step set of instructions. Either help here or a suggested website would be helpful to this old man. Thanks!
-
Exactly what problem are you experiencing when you try to install it?ApproachingDarknessFish– ApproachingDarknessFish2015-02-08 01:39:46 +00:00Commented Feb 8, 2015 at 1:39
-
It's actually a sheer lack of knowledge - I have downloaded six-1.9.0.tar.gz, but I'm not sure how to actually install it into Python - and the books/documents I have contain no explanation - I'm from the really old days when you would just unpack straight into the program files -Coach Payne– Coach Payne2015-02-08 01:50:13 +00:00Commented Feb 8, 2015 at 1:50
-
Installing Python modules: docs.python.org/2/installgvlasov– gvlasov2015-02-09 10:00:57 +00:00Commented Feb 9, 2015 at 10:00
-
Thanks for the suggestion. And I apologize to all for such a trivial question, but I needed some guidance.Coach Payne– Coach Payne2015-02-09 12:30:55 +00:00Commented Feb 9, 2015 at 12:30
-
All of this happens from the command line. I found pip in cd C:\Python27\Scripts\ I then ran these three commands (if you run dateutil first, you might not need six) pip install six pip install python-dateutil pip install pyparsingCoach Payne– Coach Payne2015-02-10 17:18:18 +00:00Commented Feb 10, 2015 at 17:18
Add a comment
|
1 Answer
On some computers where I don't have pip installed I usually do:
- Extract the downloaded file
- In the command line, where you extracted do
python setup.py install - Module should now be installed
- You can run
pythonnow - In the interactive interpreter do
import module_name - If you get no errors, installation was a success