回答:
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}