pipenv安装让“皮尤不在你的路径中”

时间:2017-09-19 19:12:57

标签: python python-3.x pipenv

我有Mac OS X El Capitan,安装了python 3.6,pip,pipenv。不能让pipenv工作:

pipenv install
Creating a virtualenv for this project…
Warning: it looks like pew is not in your PATH. We cannot continue until this is resolved.

我检查了皮尤 - 它在/Users/kosteg/Library/Python/3.6/bin

这是我的〜/ .bash_profile:

export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export PATH=/Users/kosteg/.local/bin:$PATH
export PATH=/Users/kosteg/Library/Python/3.6/bin:$PATH
export PATH=/Users/kosteg/Library/Python/3.6:$PATH
alias python=python3
alias pip=pip3

如何解决路径问题?

2 个答案:

答案 0 :(得分:18)

卸载std::vector<double> v(10000007, 0.5); virtualenvpipenv

然后,请按照以下步骤操作:首先安装pew,然后virtualenv,然后使用简单命令pew安装pipenv

答案 1 :(得分:6)

sudo -H pip3 install pew解决了问题