Найти - Пользователи
Полная версия: под windows пакет readline устанавливается?
Начало » Python для новичков » под windows пакет readline устанавливается?
1
qman
запускаю установку
easy_install readline
и получаю
c:\www3>easy_install readline
Searching for readline
Reading http://pypi.python.org/simple/readline/
Reading http://www.python.org/
Best match: readline 2.6.4
Downloading http://pypi.python.org/packages/source/r/readline/readline-2.6.4.tar
.gz#md5=7568e8b78f383443ba57c9afec6f4285
Processing readline-2.6.4.tar.gz
Running readline-2.6.4\setup.py -q bdist_egg --dist-dir c:\docume~1\andrew\local
s~1\temp\easy_install-6bndpn\readline-2.6.4\egg-dist-tmp-xb2ajg
Системе не удается найти указанный путь.
Traceback (most recent call last):
File "C:\Python25\Scripts\easy_install-script.py", line 8, in <module>
load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
1671, in main
with_ei_usage(lambda:
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
1659, in with_ei_usage
return f()
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
1675, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
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 "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line
919, in run_setup
run_setup(setup_script, args)
File "C:\Python25\lib\site-packages\setuptools\sandbox.py", line 27, in run_se
tup
lambda: execfile(
File "C:\Python25\lib\site-packages\setuptools\sandbox.py", line 63, in run
return func()
File "C:\Python25\lib\site-packages\setuptools\sandbox.py", line 29, in <lambd
a>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 93, in <module>
AttributeError: 'module' object has no attribute 'symlink'

c:\www3>
Подскажите версия
Best match: readline 2.6.4
для питона 2.5.4 подойдет?
Nik
Если речь идет об этом http://pypi.python.org/pypi/readline/2.6.4 , то вроде он под “Platform: MacOS”. Судя по путям в Traceback у вас Винда, а не MacOS…

Может pyreadline нужен http://pypi.python.org/pypi/pyreadline/1.5 ?
qman
Nik
Может pyreadline нужен http://pypi.python.org/pypi/pyreadline/1.5 ?
да оно установилось.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB