这是一个创建于 3973 天前的主题,其中的信息可能已经有所发展或是发生改变。
这两个系统不算跨系统吧....
问题:
在centos下:
$ virtualenv tenv
ubuntu下:
$ . tenv/bin/activate
$ python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
----------------
ubuntu下:
$ virtualenv ttenv
centos下:
$ . ttenv/bin/activate
$ python
ttenv/bin/python: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by ttenv/bin/python)
ttenv/bin/python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ttenv/bin/python)
ttenv/bin/python: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ttenv/bin/python)
ttenv/bin/python: /usr/lib64/libssl.so.1.0.0: no version information available (required by ttenv/bin/python)
什么奇葩问题... 各位大家有遇到过这种情况么?
5 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
humiaozuzu 2013-11-18 18:04:24 +08:00 via iPhone 2
需要维护的是 requirements.txt 不同发行版自己重安装
|
|
|
2
ritksm 2013-11-18 18:16:57 +08:00 1
pip freeze然后写到requirements.txt里。。如LS所说
|
|
|
3
9hills 2013-11-18 18:17:57 +08:00
算跨系统,怎么不算。centos和ubuntu差老远了
|
|
|
4
geew 2013-11-18 20:09:56 +08:00
|
|
|
5
geew 2013-11-18 20:10:08 +08:00
|