python38默认路径_如何设置新Python 3.5安装的默认路径?

我刚刚从python官方网站安装了python 3.5。它安装在我的计算机上,并在以下位置安装在我的计算机上:/Library/Frameworks/Python.framework/Versions/3.5

但是,我正在尝试运行virtualenv,当我尝试创建新的虚拟环境时,它将带我看到此错误消息。-bash: /Users/me/anaconda/bin/virtualenv: No such file or directory

我从计算机中删除了Anaconda,但仍然无法在python 3.5路径下创建虚拟环境,即使它已经安装。

这是我的bash_简介。# Setting PATH for Python 3.4

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

export PATH

# Setting PATH for Python 2.7

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"

export PATH

### Added by the Heroku Toolbelt

export PATH="/usr/local/heroku/bin:$PATH"

# Setting PATH for Python 3.4

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

export PATH

# Setting PATH for Python 3.4

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

export PATH

# Setting PATH for Python 3.4

# The orginal version is saved in .bash_profile.pysave

PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

export PATH

##

# Your previous /Users/lewismenelaws/.bash_profile file was backed up as /Users/lewismenelaws/.bash_profile.macports-saved_2015-02-25_at_15:58:24

##

# MacPorts Installer addition on 2015-02-25_at_15:58:24: adding an appropriate PATH variable for use with MacPorts.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值