Image

Imagekornburn wrote in Imageru_python

В чём может быть проблема?

При попытке установить через easy_install:

c:\>easy_install.exe lxml
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
No local packages or download links found for lxml
Best match: None

Система Windows 7 (32).пути в PATH(для Scripts) прописаны верно. На XP делал всё тоже самое - работало без проблем. Python 2.7.2. После установки соответственно в platform/lib/site-packages ничего не появляется.


c:\>easy_install.exe lxml
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
No local packages or download links found for lxml
Best match: None
Traceback (most recent call last):
File "C:\Program Files\Python\Scripts\easy_install-script.py", line 8, in
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "C:\Program Files\Python\lib\site-packages\setuptools\command\easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "C:\Program Files\Python\lib\site-packages\setuptools\command\easy_install.py", line 1700, in with_ei_usage
return f()
File "C:\Program Files\Python\lib\site-packages\setuptools\command\easy_install.py", line 1716, in
distclass=DistributionWithoutHelpCommands, **kw
File "C:\Program Files\Python\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Program Files\Python\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Program Files\Python\lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()
File "C:\Program Files\Python\lib\site-packages\setuptools\command\easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Program Files\Python\lib\site-packages\setuptools\command\easy_install.py", line 434, in easy_install
self.local_index
File "C:\Program Files\Python\lib\site-packages\setuptools\package_index.py",
line 475, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'