search

Home  >  Q&A  >  body text

python - sqlite3 环境路径问题.

安装Seafile. 的时候报错. 说没安装sqlite3
python-sqlite3 is not installed, Please install it first.

但是我已经安装了啊.
➜ seafile-server-6.0.9 sqlite3 --version
3.6.20

➜ seafile-server-6.0.9 whereis sqlite3
sqlite3: /usr/bin/sqlite3 /usr/local/bin/sqlite3 /usr/include/sqlite3.h /usr/share/man/man1/sqlite3.1.gz

➜ seafile-server-6.0.9 type sqlite3
sqlite3 is /usr/local/bin/sqlite3

➜ seafile-server-6.0.9 $PATH
zsh: no such file or directory
:/usr/src/Python1.7.9/python
:/usr/local/bin/sqlite3
:/usr/bin/sqlite3
:/usr/local
:/usr/local/python27
:/usr/local/python27/bin
:/usr/local/python27/bin/python2.7
:/usr/src
:/root/.autojump/bin
:/usr/lib/qt3.3/bin
:/usr/local/sbin
:/usr/local/bin
:/sbin
:/bin
:/usr/sbin
:/usr/bin
:/root/bin

环境路径也有sqlite的路径啊...
为什么还会提示没有安装呢...

顺便问一句.
环境路径 我要是加个/usr 进去. 是不是会自动搜 /usr下面所有的文件夹.以及所有文件夹的子文件夹啊???

高洛峰高洛峰2788 days ago905

reply all(0)I'll reply

No reply
  • Cancelreply