[linux] TypeError: expected str, bytes or os.PathLike object, not int 해결 방법



TypeError: expected str, bytes or os.PathLike object, not int 해결 방법


pip 혹은 pip3를 이용해서 설치할 때 발생하는 에러이며, --no-cache-dir를 이용하여 에러를 해결할 수 있습니다.
해당 옵션은 캐시를 이용하지 않고 pip install을 하겠다는 의미입니다.
python3 -m pip install --upgrade pip --no-cache-dir



참고 문헌

[1]   https://stackoverflow.com/questions/74372529/python3-pip-upgrade-and-install-fails

댓글

이 블로그의 인기 게시물

[opencv-python] 이미지 크기조절(resize) 하는 법

[python] selenium close와 quit 차이점

[python]파이썬: csv reader header skip (첫번째 행 무시하기, 안읽기)