pip安装问题小结
20210617
?
--use-deprecated=legacy-resolver
--extra-index-url代表后備鏡像源,其他rasa-x依賴的包都用這個源進行下載,比較快<br>--use-deprecated=legacy-resolver 因為有版本沖突,如果沒加這個參數(shù)會進入死循環(huán)找版本,一直出現(xiàn):?pip?is?looking?at?multiple?versions?of?urllib3?to?determine?which?version?is?compatible?with?other?requirements.?This?could?take?a?while.
pip3 install hanlp --use-deprecated=legacy-resolver
?
這樣就快了
?
可以在pip后使用 == 運算符指定版本號
pip install applicationName==version
?
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
https://pypi.org/project/seqeval/0.0.3/#files
直接從這里下載包再安裝
pip install django==? 然后回車即可
查看包所有的版本問題
?
總結(jié)
- 上一篇: python中使用指定GPU
- 下一篇: 梯度下降理解和梯度下降计算检查斯坦福