Installing Python Module Six

一曲冷凌霜 提交于 2019-12-11 02:39:00

问题


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


来源:https://stackoverflow.com/questions/28388976/installing-python-module-six

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!