无法在osx中​​创建虚拟环境

时间:2017-06-12 20:57:04

标签: macos virtualenv python-3.6

我正在尝试在OSX中创建一个新的虚拟环境。这就是我的尝试:

lucas-MacBook-Pro:MyApps lucapuggini$ which python3
/usr/local/bin/python3
lucas-MacBook-Pro:MyApps lucapuggini$ virtualenv -p /usr/local/bin/python3 python_3_6_scipy_dev
-bash: /usr/local/bin/virtualenv: /usr/local/opt/python3/bin/python3.5: bad interpreter: No such file or directory




lucas-MacBook-Pro:~ lucapuggini$ brew install python3.5
Error: No available formula with the name "python3.5" 
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
lucas-MacBook-Pro:~ lucapuggini$ 

1 个答案:

答案 0 :(得分:1)

我按FlatList

解释python3 -m venv <myenvname>