1
Vote

Pyvot 0.1.2 install failing with easy_install

description

I have Python 2.7 (32-bit on 64-bit Windows 7) with pywin32 installed, as per instructions in the docs. When I try easy_install pivot, I’m told that there’s no setup script found in the downloaded archive…
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32com
>>> ^Z


C:\Python27>Scripts\easy_install pyvot
Searching for pyvot
Reading http://pypi.python.org/simple/pyvot/
Best match: Pyvot 0.1.2.win32
Downloading https://pypi.python.org/packages/any/P/Pyvot/Pyvot-0.1.2.win32.zip#md5=480917d4ade7842ede6c13933df726f5
Processing Pyvot-0.1.2.win32.zip
error: Couldn't find a setup script in c:\users\johndoe\appdata\local\temp\easy_install-zqldsu\Pyvot-0.1.2.win32.zip

comments

atifaziz wrote Dec 20, 2013 at 7:11 AM

Workaround I've managed to find so far is to download and extract the zip manually and then add to the path before importing xl:
C:\Python27>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.sys.path.append('C:\Downloads\Pyvot-0.1.2.win32\Program Files (x86)\Python27\Lib\site-packages')
>>> import xl
>>> xl
<module 'xl' from 'C:\Downloads\Pyvot-0.1.2.win32\Program Files (x86)\Python27\Lib\site-packages\xl\__init__.pyc'>
>>>

pminaev wrote Jan 2 at 8:32 PM

A better way is to use pip:
pip install pyvot
We need to update the documentation to reflect this.