답변:
pip에는 --no-dependencies스위치가 있습니다. 그것을 사용해야합니다.
자세한 내용을 보려면을 실행 pip install -h하십시오. 여기에 다음 줄이 표시됩니다.
--no-deps, --no-dependencies
Ignore package dependencies
pip install --no-deps -r requirements.txt
apt-get install --no-install-recommends있습니까?
( )로 librosa패키지를 설치하려고 할 때 다음 오류가 나타납니다.pippip install librosa
ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
나는 제거하려 llvmlite하지만, pip uninstall그것을 제거 할 수 없습니다. 그래서이 코드 로 ignore의 기능을 사용했습니다 pip.
pip install librosa --ignore-installed llvmlite
실제로 고려하지 않으려는 패키지를 무시하는 데이 규칙을 사용할 수 있습니다.
pip install {package you want to install} --ignore-installed {installed package you don't want to consider}