작성
·
246
0
답변 1
1
It seems related to importing Jedi.
1- Fix the import issue error:
https://stackoverflow.com/questions/63331116/python-3-6-8-jedi-importerror-cannot-import-name-traverse-parents
You can use
pip3 install -e git://github.com/davidhalter/jedi.git#egg=jedi
for reinstalling Jedi
2- Use Jedi 0.17.2 (Release History) :
pip install jedi==0.17.2
python3 -m ensurepip --default-pip
If that still doesn’t allow you to run python -m pip
:
Securely Download get-pip.py 1
Run
python get-pip.py
. 2 This will install or upgrade pip. Additionally, it will install setuptools and wheel if they’re not installed already.Warning
Be cautious if you’re using a Python install that’s managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state. You can use
pythonget-pip.py --prefix=/usr/local/
to install in/usr/local
which is designed for locally-installed software.
While pip
alone is sufficient to install from pre-built binary archives, up to date copies of the setuptools
and wheel
projects are useful to ensure you can also install from source archives:
python3 -m pip install --upgrade pip setuptools wheel
감사합니다. 파이썬 강의 초반부터 설치도 제대로 안되서 포기할뻔했습니다.
덕분에 기존 처럼 에러는 더이상 발생하지 않습니다.
아래 처럼 사용방법에 대한 예가 나오면 정상적인것 맞는걸까요?