我有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
如何解决路径问题?
答案 0 :(得分:18)
卸载std::vector<double> v(10000007, 0.5);
,virtualenv
和pipenv
。
然后,请按照以下步骤操作:首先安装pew
,然后virtualenv
,然后使用简单命令pew
安装pipenv
。
答案 1 :(得分:6)
sudo -H pip3 install pew
解决了问题