mitsuhiko / pipsi

pip script installer
Other
2k stars 133 forks source link

"TypeError: coercing to Unicode:..." while installing pipsi #163

Open Jaxmetalmax opened 6 years ago

Jaxmetalmax commented 6 years ago

Error while installing pipsi via: curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python

It seems that is trying to change PATH, fixed with adding ~/.local/bin to PATH on .bashrc manually

Environment OS: Debian 9 Python 2.7.13 TraceBack:

Installed pipsi binary in /home/developer/.local/bin
Traceback (most recent call last):
  File "<stdin>", line 237, in <module>
  File "<stdin>", line 232, in main
  File "<stdin>", line 188, in ensure_pipsi_on_path
  File "/usr/lib/python2.7/genericpath.py", line 26, in exists
    os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
arnavb commented 6 years ago

Is there any update on this by any chance? I'm facing the same error with pyenv (using 3.7 as the interpreter) and with system python3.5.

Jaxmetalmax commented 6 years ago

@arnavb after install just make sure that you have or add ~/.local/bin to PATH, while this is fixed.