취코, 취하다 코딩에~

파이썬 에러와 경로 잡기 본문

프로그래밍

파이썬 에러와 경로 잡기

drinkcode 2018. 8. 20. 14:05

These steps worked for me.

1- Uninstall the pip update from python.
2- Uninstall pip package from your Ubuntu.
3- Check that pip binary is not longer in your system.

python -m pip uninstall pip
apt remove python-pip
whereis pip

4- Download and install pip. (credits for VanDragt.com)

wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
sudo python3 /tmp/get-pip.py
pip install --user pipenv
pip3 install --user pipenv
echo "PATH=$HOME/.local/bin:$PATH" >> ~/.profile
source ~/.profile
whereis pip

Now you should be able to install any pip package you want.


'프로그래밍' 카테고리의 다른 글

electron 사용법  (0) 2018.08.14
Ubuntu에서 안드로이드 스튜디오설치(펌)  (0) 2018.05.17
javascript 파일 압축 및 복원하기  (0) 2018.02.08
유용한 도구&사이트  (0) 2018.02.08
오픈소스 라이센스 규정  (0) 2018.02.08
Comments