안녕하세요. 본 서적을 구입하여 열심히 학습하고 있습니다.
지금 window7 환경에서 pylucene의 설치를 하려고 하는데, 아래와 같은 에러로 작업이 거의 불가하고 있습니다.
열심히 해결책을 찾았지만, 그 방법을 찾기 어려워 이렇게 도움을 요청드립니다.
에러는 다음과 같습니다.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\Yun\Downloads>c:\Python27\Scripts\easy_install.exe
lucene-3.0.3-py2.6-w
in32.egg
Processing lucene-3.0.3-py2.6-win32.egg
creating c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Extracting lucene-3.0.3-py2.6-win32.egg to c:\python27\lib\site-
packages
Adding lucene 3.0.3 to easy-install.pth file
Installed c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Processing dependencies for lucene==3.0.3
Searching for lucene==3.0.3
Reading
http://pypi.python.org/simple/lucene/
Couldn't find index page for 'lucene' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading
http://pypi.python.org/simple/
No local packages or download links found for lucene==3.0.3
Best match: None
Traceback (most recent call last):
File "c:\Python27\Scripts\easy_install-script.py", line 8, in
<module>
load_entry_point('setuptools==0.6c11', 'console_scripts',
'easy_install')()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1700, in with_ei_usage
return f()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
478, in install_item
self.process_distribution(spec, dist, deps)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
519, in process_distribution
[requirement], self.local_index, self.easy_install
File "C:\Python27\lib\site-packages\pkg_resources.py", line 563, in
resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 799, in
best_match
return self.obtain(req, installer) # try and download/install
File "C:\Python27\lib\site-packages\pkg_resources.py", line 811, in
obtain
return installer(requirement)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
434, in easy_install
self.local_index
File "C:\Python27\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'
C:\Users\Yun\Downloads>c:\Python27\Scripts\easy_install.exe
lucene-3.0.3-py2.6-w
in32.egg
Processing lucene-3.0.3-py2.6-win32.egg
removing 'c:\python27\lib\site-packages\lucene-3.0.3-py2.6-
win32.egg' (and every
thing under it)
creating c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Extracting lucene-3.0.3-py2.6-win32.egg to c:\python27\lib\site-
packages
lucene 3.0.3 is already the active version in easy-install.pth
Installed c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Processing dependencies for lucene==3.0.3
Searching for lucene==3.0.3
Reading
http://pypi.python.org/simple/lucene/
Couldn't find index page for 'lucene' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading
http://pypi.python.org/simple/
No local packages or download links found for lucene==3.0.3
error: Could not find suitable distribution for
Requirement.parse('lucene==3.0.3
')
C:\Users\Yun\Downloads>c:\Python27\Scripts\easy_install.exe
lucene-3.0.3-py2.6-w
in32.egg
Processing lucene-3.0.3-py2.6-win32.egg
removing 'c:\python27\lib\site-packages\lucene-3.0.3-py2.6-
win32.egg' (and every
thing under it)
creating c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Extracting lucene-3.0.3-py2.6-win32.egg to c:\python27\lib\site-
packages
lucene 3.0.3 is already the active version in easy-install.pth
Installed c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Processing dependencies for lucene==3.0.3
Searching for lucene==3.0.3
Reading
http://pypi.python.org/simple/lucene/
Couldn't find index page for 'lucene' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading
http://pypi.python.org/simple/
No local packages or download links found for lucene==3.0.3
error: Could not find suitable distribution for
Requirement.parse('lucene==3.0.3
')
C:\Users\Yun\Downloads>c:\Python27\Scripts\easy_install.exe
lucene-3.0.3-py2.6-w
in32.egg
Processing lucene-3.0.3-py2.6-win32.egg
removing 'c:\python27\lib\site-packages\lucene-3.0.3-py2.6-
win32.egg' (and every
thing under it)
creating c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Extracting lucene-3.0.3-py2.6-win32.egg to c:\python27\lib\site-
packages
lucene 3.0.3 is already the active version in easy-install.pth
Installed c:\python27\lib\site-packages\lucene-3.0.3-py2.6-win32.egg
Processing dependencies for lucene==3.0.3
Searching for lucene==3.0.3
Reading
http://pypi.python.org/simple/lucene/
Couldn't find index page for 'lucene' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading
http://pypi.python.org/simple/
No local packages or download links found for lucene==3.0.3
Best match: None
Traceback (most recent call last):
File "c:\Python27\Scripts\easy_install-script.py", line 8, in
<module>
load_entry_point('setuptools==0.6c11', 'console_scripts',
'easy_install')()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1700, in with_ei_usage
return f()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
478, in install_item
self.process_distribution(spec, dist, deps)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
519, in process_distribution
[requirement], self.local_index, self.easy_install
File "C:\Python27\lib\site-packages\pkg_resources.py", line 563, in
resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 799, in
best_match
return self.obtain(req, installer) # try and download/install
File "C:\Python27\lib\site-packages\pkg_resources.py", line 811, in
obtain
return installer(requirement)
File "C:\Python27\lib\site-packages\setuptools\command
\easy_install.py", line
434, in easy_install
self.local_index
File "C:\Python27\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'
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
입니다.
python 2.7 버전이고, 당최 저 해결방법을 알수 없습니다. 도와주세요 ㅠ