Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 893
Kosteg Avatar asked Sep 19 '17 19:09

Kosteg


2 Answers

Uninstall virtualenv, pipenv and pew.

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

like image 165
Prasad Lele Avatar answered Oct 19 '22 22:10

Prasad Lele


sudo -H pip3 install pew fixes the issue

like image 44
Kosteg Avatar answered Oct 19 '22 23:10

Kosteg