相关疑难解决方法(0)

如何在Windows上运行多个Python版本

我的机器上安装了两个版本的Python(版本2.6和2.5).我想为一个项目运行2.6,为另一个项目运行2.5.

如何指定要使用的内容?

我正在使用Windows XP SP2.

python windows compatibility python-2.x python-3.x

158
推荐指数
10
解决办法
19万
查看次数

试图安装python3但终端一直显示为python 2.7.13

我在macOS Sierra上有2.7.13,我正在尝试升级到python3 via

brew install python3
Run Code Online (Sandbox Code Playgroud)

除了最后一部分,一切似乎都很顺利:

==> Installing python3 
==> Downloading https://homebrew.bintray.com/bottles/python3-3.6.1.sierra.bottle
######################################################################## 100.0%
==> Pouring python3-3.6.1.sierra.bottle.tar.gz
==> Using the sandbox
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> /usr/local/Cellar/python3/3.6.1/bin/python3 -s setup.py --no-user-cfg instal
==> Caveats
Pip, setuptools, and wheel have been installed. To update them
  pip3 install --upgrade pip setuptools wheel

You can install Python packages with
  pip3 install <package>

They will install into the site-package directory
  /usr/local/lib/python3.6/site-packages

See: http://docs.brew.sh/Homebrew-and-Python.html
==> Summary
  /usr/local/Cellar/python3/3.6.1: …
Run Code Online (Sandbox Code Playgroud)

python homebrew

2
推荐指数
1
解决办法
627
查看次数