PFZheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

easy-install failure #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
C:\Python26\Scripts>easy_install-2.6-script.py psutil

What is the expected output? What do you see instead?
Searching for psutil
Reading http://pypi.python.org/simple/psutil/
Reading http://code.google.com/p/psutil/
Best match: psutil 0.3.0
Downloading http://psutil.googlecode.com/files/psutil-0.3.0.tar.gz
Processing psutil-0.3.0.tar.gz
Running psutil-0.3.0\setup.py -q bdist_egg --dist-dir c:\users\gadget~1\appdata\
local\temp\easy_install-gb97iw\psutil-0.3.0\egg-dist-tmp-urwyou
error: Setup script exited with error: Unable to find vcvarsall.bat

What version of psutil are you using? What Python version?
psutil 0.3.0
Python 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on 
win32

On what operating system? Is it 32bit or 64bit version?
Windows 7 - 32 bit.

Please provide any additional information below.

Original issue reported on code.google.com by GadgetSt...@hotmail.com on 10 Jul 2011 at 4:59

GoogleCodeExporter commented 9 years ago
That should mean Visual Studio is not installed.
Btw, you can use the precompiled Windows binaries for python 2.6.

Original comment by g.rodola on 10 Jul 2011 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 30 Sep 2011 at 7:25

GoogleCodeExporter commented 9 years ago
Thanks for clarifying the issue - It seems a shame for a "cross platform" tool 
to have a dependency on a Microsoft product not mentioned as a prerequisite for 
the source code download.  (BTW I do have gcc installed on the target machine)

Original comment by GadgetSt...@hotmail.com on 1 Oct 2011 at 7:15

GoogleCodeExporter commented 9 years ago
You can also use mingw32 (that's mentioned in the README).
The reason why easy_install uses VS as the default is because Python is 
compiled with that one.

Original comment by g.rodola on 1 Oct 2011 at 9:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r26 == revision 1a7dae828cd4

Original comment by g.rodola on 2 Mar 2013 at 12:01