Installing Python Module Six

2019-07-20 06:54发布

问题:

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!

回答1:

On some computers where I don't have pip installed I usually do:

  1. Extract the downloaded file
  2. In the command line, where you extracted do python setup.py install
  3. Module should now be installed
  4. You can run python now
  5. In the interactive interpreter do import module_name
  6. If you get no errors, installation was a success


标签: python six