2012-12-05 3 views
0

약간 문제가 있습니다. 나는 Debian Squeeze를 사용 중이며 sqlite2를 설치하려고합니다. 내가 함께 할 때 문제는 다음과 같습니다Debian Squeeze에서 pysqlite2를 설치하는 방법?

# pip install pysqlite2 

내가 얻을 :

Downloading/unpacking pysqlite2 
Could not find any downloads that satisfy the requirement pysqlite2 
No distributions at all found for pysqlite2 
Storing complete log in /root/.pip/pip.log 

내가 함께 할 때 내가 얻을 같은 오류 : 나는 또한 easy_install을 시도했다

# pip install python-pysqlite2 

:

# easy_install pysqlite2 
Searching for pysqlite2 
Reading http://pypi.python.org/simple/pysqlite2/ 
Couldn't find index page for 'pysqlite2' (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 pysqlite2 
Best match: None 
Traceback (most recent call last): 
    File "/usr/local/bin/easy_install", line 8, in <module> 
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1712, in main 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 1716, in <lambda> 
    File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup 
    dist.run_commands() 
    File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands 
    self.run_command(cmd) 
    File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command 
    cmd_obj.run() 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install 
    File "/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution 
AttributeError: 'NoneType' object has no attribute 'clone' 

다운로드도 시도해 보았습니다. pyslite2의 here에서 패키지와 내가 함께 할 때 :

Selecting previously deselected package python-pysqlite2-dbg. 
(Reading database ... 144103 files and directories currently installed.) 
Unpacking python-pysqlite2-dbg (from python-pysqlite2-dbg_2.6.0-1_amd64.deb) ... 
dpkg: dependency problems prevent configuration of python-pysqlite2-dbg: 
python-pysqlite2-dbg depends on python-pysqlite2 (= 2.6.0-1); however: 
    Package python-pysqlite2 is not configured yet. 
python-pysqlite2-dbg depends on python-dbg; however: 
    Package python-dbg is not installed. 
dpkg: error processing python-pysqlite2-dbg (--install): 
dependency problems - leaving unconfigured 
Errors were encountered while processing: 
python-pysqlite2-dbg 

난 정말이에 대한 도움을 appriciate 것 :

# dpkg -i python-pysqlite2-dbg_2.6.0-1_amd64.deb 

나는 다음과 같은 오류가 발생합니다.

미리 감사드립니다.

답변

1

그냥 apt-get을 누락 된 모든 종속성을 설치하는 설치 실행

apt-get -f install 
+0

늦어서 올렉산드르, 나는 단지 내가 너무 많은 일을했기 때문에 나는이 시도 후 답변을 잊었 대답과 함께입니다. 이것은 나의 문제를 해결했다, 고마워! 건배! – Belphegor

관련 문제