Search code examples
pythonpython-3.xpipenv

pipenv install gives "pew is not in your PATH"


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?


Solution

  • Uninstall virtualenv, pipenv and pew.

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