[New-bugs-announce] [issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'
Sridhar Ratnakumar
report at bugs.python.org
Tue Dec 15 07:24:49 CET 2009
New submission from Sridhar Ratnakumar <sridharr at activestate.com>:
This error happened while installing pycrypto 2.0.1 on XP 64-bit with VS
2008 express installed using Python 2.6.4 64-bit (via buildout).
Getting distribution for 'pycrypto>=1.9'.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
1714, in main
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
1695, in with_ei_usage
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
1718, in <lambda>
File "C:\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
236, in run
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
452, in easy_install
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
501, in install_item
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
680, in install_eggs
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
957, in build_and_install
File "build\bdist.win32\egg\setuptools\command\easy_install.py", line
946, in run_setup
File "build\bdist.win32\egg\setuptools\sandbox.py", line 29, in
run_setup
File "build\bdist.win32\egg\setuptools\sandbox.py", line 70, in run
File "build\bdist.win32\egg\setuptools\sandbox.py", line 31, in
<lambda>
File "setup.py", line 163, in <module>
File "C:\Python25\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
self.run_command(cmd)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line
174, in run
File "build\bdist.win32\egg\setuptools\command\bdist_egg.py", line
161, in call_command
File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "build\bdist.win32\egg\setuptools\command\install_lib.py", line
20, in run
File "C:\Python25\lib\distutils\command\install_lib.py", line 112, in
build
self.run_command('build_ext')
File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
cmd_obj.run()
File "C:\Python25\lib\distutils\command\build_ext.py", line 299, in
run
self.build_extensions()
File "setup.py", line 116, in build_extensions
File "C:\Python25\lib\distutils\command\build_ext.py", line 425, in
build_extensions
self.build_extension(ext)
File "C:\Python25\lib\distutils\command\build_ext.py", line 490, in
build_extension
depends=ext.depends)
File "C:\Python25\lib\distutils\msvccompiler.py", line 354, in compile
if not self.initialized: self.initialize()
File "C:\Python25\lib\distutils\msvccompiler.py", line 264, in
initialize
self.__paths = self.get_msvc_paths("path")
File "C:\Python25\lib\distutils\msvccompiler.py", line 616, in
get_msvc_paths
% (self.__root, self.__version))
AttributeError: MSVCCompiler instance has no attribute
'_MSVCCompiler__root'
An error occured when trying to install pycrypto 2.0.1. Look above this
message for any errors that were output by easy_
install.
While:
Installing python.
Getting distribution for 'pycrypto>=1.9'.
Error: Couldn't install: pycrypto 2.0.1
----------
assignee: tarek
components: Distutils
messages: 96420
nosy: srid, tarek
severity: normal
status: open
title: AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7509>
_______________________________________
More information about the New-bugs-announce
mailing list