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

后端 未结 14 2280
温柔的废话
温柔的废话 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:29

    I'm able to find the EXE doing google,

    you can simply download it from following URL, and double click and install....

    http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe#md5=1509752c3c2e64b5d0f9589aafe053dc

    0 讨论(0)
  • 2020-12-02 05:33

    First Option - Online Installation (i.e. remaining connected to the Internet during the entire installation process):

    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. Go the folder (refer step 2) and run ez_setup.py from the corresponding dos (command) prompt
    4. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

    Second Option:

    1. Download setuptools-0.6c9.tar.gz
    2. Download setuptools-0.6c9-py2.6.egg to a folder(directory) outside your Windows Python installation folder
    3. Use 7-zip to extract ez_setup.py in the same folder as setuptools-0.6c9-py2.6.egg
    4. Go to the corresponding dos prompt and run python ez_setup.py setuptools-0.6c9-py2.6.egg from the command prompt
    5. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory

    Third Option (assuming that you have Visual Studio 2005 or MinGW on your machine)

    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. Go the folder (refer step 2) and run python setup.py install from the corresponding dos (command) prompt

    Please provide feedback.

    0 讨论(0)
  • 2020-12-02 05:34

    setuptools has been updated in version 0.6c11.

    0 讨论(0)
  • 2020-12-02 05:35

    The "first option" (4 steps: download, extract, run, verify PATH) didn't work on my Windows Server 2008 x64 machine with Python 2.6 32 bit installed, nor did it work on my Vista x64 machine with Python 2.6 32 bit installed.

    The "second option (5 steps: download, extract, extract, run, verify PATH) worked on both Windows Server 2008 x64 and on Windows Vista x64.

    Thanks a bunch for providing the instructions!

    0 讨论(0)
  • 2020-12-02 05:37

    Just installed setuptools as follows:

    1. Downloaded http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c9.tar.gz#md5=3864c01d9c719c8924c455714492295e , and extracted to a folder outside of my Python installation.
    2. command prompt, then cd into that folder.
    3. enter python setup.py install

    That will install from the source into your python's site-packages folder and any other steps needed. This was on Windows XP SP2.

    0 讨论(0)
  • 2020-12-02 05:38

    My advice is to wait until Python 2.6.2 to use Python 2.6 on Windows. There are still some bugs that make it less than ideal (this one is particularly nasty). Personally, I wasn't able to get setuptools working totally well on Vista x64 even after installing from source. Under Python 2.5.4, I haven't had any problems though.

    0 讨论(0)
提交回复
热议问题