pew which is in $PATH is not found
See original GitHub issueFor me on ubuntu there’s a warning about pew not being in the path, while it certainly is.
$ python --version
Python 3.5.4
$ pip --version
pip 9.0.1 from /home/bogn/.pyenv/versions/3.5.4/lib/python3.5/site-packages (python 3.5)
$ pyenv --version
pyenv 1.1.5-7-gaf8cca9
$ pipenv --version
pipenv, version 8.2.7
$ pipenv install flask
Creating a virtualenv for this project…
⠋Warning: it looks like pew is not in your PATH. We cannot continue until this is resolved.
$ pew version
1.1.0
At first I thought that the issue is that I modified the $PATH in ~/.bashrc, not in ~/.profile. But after adding it to .profile as well it still doesn’t work. Note that I’ve used pyenv and it’s plugin python-build to install python. Installing and uninstalling pew[pythonz] didn’t help either. Reinstalling pipenv also wasn’t succesful.
Expected result
I would have expected that pipenv creates a new env and installs flask into it.
Actual result
$ pipenv install flask --verbose Creating a virtualenv for this project… ⠋Warning: it looks like pew is not in your PATH. We cannot continue until this is resolved.
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (9 by maintainers)
Top Results From Across the Web
Getting "No command 'pew' found" every time I open the ...
Try it with echo $PATH . This is a list of all the paths where the system finds an executable. So that when...
Read more >The Path Not Taken - Pew Research Center
A nationwide survey of Hispanic immigrants by the Pew Hispanic Center finds that more than nine-in-ten (93%) who have not yet naturalized ...
Read more >Home Financing | The Pew Charitable Trusts
Pew studies the alternative financial arrangements that people use to buy lower-cost homes and examines the barriers that lenders face to offering small ......
Read more >Virtual environments — Python Workshops 0.1.0 documentation
Pipenv and pew does not have the activate file so you need to configure your shell prompt to get similar as with venv....
Read more >Do findings of two new polls show the path where America is ...
The other poll, released June 17, found that 81% of Americans believe in God. ... "Pew Research Center does not comment on research...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem
I ran into this problem while I was following this guide and when running
and the error is this
Warning: PYENV_ROOT is not set. New python paths will probably not be exported properly after installation. Creating a virtualenv for this project… ⠋Warning: it looks like pew is not in your PATH. We cannot continue until this is resolved.
My
$PATH
returns thisMy
pipenv -version
rerturns thisand when I run
pip install pew
i get thisRequirement already satisfied: pew in /Users/adeka/Library/Python/3.6/lib/python/site-packages Requirement already satisfied: setuptools>=17.1 in /usr/local/lib/python3.6/site-packages (from pew) Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/local/lib/python3.6/site-packages (from pew) Requirement already satisfied: virtualenv>=1.11 in /usr/local/lib/python3.6/site-packages (from pew)
I have tried a host of solutions but I haven’t been able to get it to work. I did not want to follow this solution as it seems unsafe.
Any help is appreciated. 😀
This is indeed a PATH issue then. You need to also add the
Scripts
directory (the one at the same location aspython.exe
) to your PATH. Commands such aspew
andpip
are installed there by default.