[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 Copy 참고 문헌 [1] https://stackoverflow.com/questions/74372529/python3-pip-upgrade-and-install-fails