pip安装包时遇到错误:TypeError: expected str, bytes or os.PathLike object, not int 已解决 在安装的时候设置 --no-cache-dir pip install package --no-cache-dir 也可以更新pip pip install --upgrade pip --no-cache-dir