我有一个当前使用python 2.5.4运行的Debian系统.我得到了virtualenv正确安装,一切正常.我是否有可能使用不同版本的Python的virtualenv?
我编译了Python 2.6.2,并希望将它与一些virtualenv一起使用.是否足以覆盖二进制文件?或者我是否必须更改库中的某些内容?
我的操作系统是Lubuntu 14.04,默认的Python版本是Python 2.7.6,但是在
/usr/bin
Run Code Online (Sandbox Code Playgroud)
它说我安装了Python 3.4(当我运行python3 -V它时说我有Python 3.4.0).Python 3.4是否预装了pip?因为我跑的时候
pip -V
Run Code Online (Sandbox Code Playgroud)
在终端中,它表示该程序当前未安装.话虽如此,假设我想创建一个使用Python 3.4.3 的Django项目:我先下载python3-pip然后再下载virtualenv然后再做
pip3 install Django==1.8
Run Code Online (Sandbox Code Playgroud)
?或者是否已经安装了Python 3.4附带的预装pip 3?
我已经安装shapely并将pip install shapely其导入为from shapely.geometry import Point. 我收到此错误:
from shapely.geometry import Point
ModuleNotFoundError: No module named 'shapely'
Run Code Online (Sandbox Code Playgroud)
我是 MacOS High Sierra。所有其他已安装的 python 库都可以正常工作。我是 Python 新手,所以请提前原谅我。我读过几个类似的问题(比如这个),但似乎没有一个能解决我的问题。