How do I set up Setuptools for Python 2.6 on Windows?

后端 未结 14 2281
温柔的废话
温柔的废话 2020-12-02 05:03

Is there any way to install Setuptools for Python 2.6 in Windows without having an exe installer?

There isn\'t one built at the moment, and the maintainer of Setupt

相关标签:
14条回答
  • 2020-12-02 05:39

    The easiest setuptools installation option is to use the pre-packaged Windows Installer.

    for 32-bit Python on Windows, the official setuptools page has been updated and has windows installers for Python 2.6 and 2.7:

    • http://pypi.python.org/pypi/setuptools

    for 64-bit Python on Windows, setuptools Windows installers are available here:

    • http://www.lfd.uci.edu/~gohlke/pythonlibs/
    0 讨论(0)
  • 2020-12-02 05:40

    The Nov. 21 answer didn't work for me. I got it working on my 64 bit Vista machine by following the Method 1 instructions, except for Step 3 I typed:

    setup.py install

    So, in summary, I did:

    1. Download setuptools-0.6c9.tar.gz
    2. Use 7-zip to extract it to a folder (directory) outside your Windows Python installation folder
    3. At a DOS (command) prompt, cd to your the newly created setuptools-0.6c9 folder and type "setup.py install" (without the quotes).
    4. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory
    0 讨论(0)
提交回复
热议问题