1
無法安裝SQLite的包裝。任何安裝幫助都會很有幫助。Python的SQLite的包裝APSW-3.7.16.2未能在Mac OS X(10.7.5)安裝
安裝sqlite3.version '2.6.0'
請找出錯誤日誌如下─
sudo python setup.py install test
running install
running build
running build_ext
SQLite: Using system sqlite include/libraries
running install_lib
running install_egg_info
Removing /Library/Python/2.7/site-packages/apsw-3.7.16.2_r1-py2.7.egg-info
Writing /Library/Python/2.7/site-packages/apsw-3.7.16.2_r1-py2.7.egg-info
running test
Traceback (most recent call last):
File "setup.py", line 857, in <module>
'win64hackvars': win64hackvars}
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 102, in run
import tests
File "/Users/tj/Downloads/apsw-3.7.16.2-r1/tests.py", line 9, in <module>
import apsw
ImportError: dlopen(/Users/tj/Downloads/apsw-3.7.16.2-r1/apsw.so, 2): Symbol not found: _sqlite3_db_filename
Referenced from: /Users/tj/Downloads/apsw-3.7.16.2-r1/apsw.so
Expected in: flat namespace
in /Users/tj/Downloads/apsw-3.7.16.2-r1/apsw.so
,謝謝回答我的問題。 它沒有用下面的命令,並請找message.If你可以找出它的錯誤,它會被安裝在Ubuntu helpful.I和它的作品成功。 sudo python setup.py fetch --all build --enable-all-extensions安裝測試 獲取下載頁面以計算出當前SQLite版本 獲取https://sqlite.org/download.html 錯誤 嘗試#2 錯誤 嘗試#3 –
TJC
2013-04-29 08:16:44
您會發現郵件列表更容易。你被同行出於許多原因,從有失去他們的心靈問題,代理服務器,NAT設備SQLite的網站獲得連接重置,你的操作系統是愚蠢的,防火牆,誰知道還有什麼。 setup.py腳本完全沒有關於此的任何內容,如果稍後嘗試,它很可能會起作用。 – 2013-04-29 22:20:27