pipenv install gives “pew is not in your PATH”

2019-04-05 10:48发布

I have Mac OS X El Capitan, installed python 3.6, pip, pipenv. Can't make pipenv work:

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.

I checked pew - it's in the /Users/kosteg/Library/Python/3.6/bin

Here is my ~/.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

How to fix the path issue?

2条回答
小情绪 Triste *
2楼-- · 2019-04-05 11:04

Uninstall virtualenv, pipenv and pew.

Then, follow this: first install virtualenv, then pew, then pipenv with simple command pip install.

查看更多
我想做一个坏孩纸
3楼-- · 2019-04-05 11:15

sudo -H pip3 install pew fixes the issue

查看更多
登录 后发表回答