티스토리 뷰
이것저것 자료/Python
[pip syntax error] pip 실행 시 SyntaxError: invalid syntax
happy_dohee 2021. 9. 27. 15:20Error
python3 -m pip install --upgrade pip
를 잘못하면 pip 를 실행할 때 syntax error가 난다.
Solution
python version 확인 후 (python3 --version)
wget https://bootstrap.pypa.io/pip/3.5/get-pip.py
python3 get-pip.py
를 해주면
pip 최신 버전이 uninstall이 되고 python에 맞는 pip가 설치가 된다.
'이것저것 자료 > Python' 카테고리의 다른 글
[Pytorch] torchscript의 List (0) | 2021.10.06 |
---|---|
[Pytorch] KeyError: 'module name can't contain "."' 해결하기 (0) | 2021.10.05 |
[Pytorch] AttributeError: module 'torch' has no attribute 'argsort' (0) | 2021.09.27 |
[python library] cython 설치하기 (0) | 2021.09.23 |
[python library] scapy 설치하기 (0) | 2021.08.25 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 설치하기
- docker
- 설치
- 이것이코딩테스트다
- LGSVL
- 백트래킹
- 파이썬
- numpy
- 다익스트라
- 동적프로그래밍
- 프로그래머스
- notfound
- pytorch
- 코딩테스트
- 최소신장트리
- 백준
- Python
- shellscript
- n과m
- matplotlib
- torchscript
- 카카오
- CUDA
- tensorflow
- version
- BFS
- error
- torch
- PIP
- dfs
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함