诉求:
因为是新手,不知道是什么原因,求教解决
系统信息:
版本 | Windows 10 专业版 |
---|---|
版本号 | 22H2 |
安装日期 | 2022/11/17 |
操作系统内部版本 | 19045.2251 |
体验 | Windows Feature Experience Pack 120.2212.4180.0 |
pip和py版本:
python 3.11.0
pip 22.3.1
安装命令:
pip install hanlp
报错log:
Using cached hanlp-2.0.0a4.tar.gz (872 kB)
Preparing metadata (setup.py) … done
Using cached hanlp-2.0.0a3.tar.gz (867 kB)
Preparing metadata (setup.py) … done
ERROR: Cannot install hanlp==2.0.0a10, hanlp==2.0.0a11, hanlp==2.0.0a12, hanlp==2.0.0a13, hanlp==2.0.0a14, hanlp==2.0.0a15, hanlp==2.0.0a16, hanlp==2.0.0a17, hanlp==2.0.0a18, hanlp==2.0.0a19, hanlp==2.0.0a20, hanlp==2.0.0a21, hanlp==2.0.0a22, hanlp==2.0.0a24, hanlp==2.0.0a25, hanlp==2.0.0a26, hanlp==2.0.0a27, hanlp==2.0.0a28, hanlp==2.0.0a29, hanlp==2.0.0a3, hanlp==2.0.0a30, hanlp==2.0.0a31, hanlp==2.0.0a32, hanlp==2.0.0a33, hanlp==2.0.0a34, hanlp==2.0.0a35, hanlp==2.0.0a36, hanlp==2.0.0a37, hanlp==2.0.0a38, hanlp==2.0.0a39, hanlp==2.0.0a4, hanlp==2.0.0a40, hanlp==2.0.0a41, hanlp==2.0.0a42, hanlp==2.0.0a43, hanlp==2.0.0a44, hanlp==2.0.0a45, hanlp==2.0.0a46, hanlp==2.0.0a47, hanlp==2.0.0a48, hanlp==2.0.0a49, hanlp==2.0.0a5, hanlp==2.0.0a50, hanlp==2.0.0a51, hanlp==2.0.0a52, hanlp==2.0.0a53, hanlp==2.0.0a54, hanlp==2.0.0a55, hanlp==2.0.0a56, hanlp==2.0.0a57, hanlp==2.0.0a58, hanlp==2.0.0a59, hanlp==2.0.0a6, hanlp==2.0.0a60, hanlp==2.0.0a61, hanlp==2.0.0a62, hanlp==2.0.0a63, hanlp==2.0.0a64, hanlp==2.0.0a65, hanlp==2.0.0a66, hanlp==2.0.0a67, hanlp==2.0.0a68, hanlp==2.0.0a69, hanlp==2.0.0a8, hanlp==2.0.0a9, hanlp==2.1.0a0, hanlp==2.1.0a1, hanlp==2.1.0a10, hanlp==2.1.0a11, hanlp==2.1.0a12, hanlp==2.1.0a13, hanlp==2.1.0a14, hanlp==2.1.0a15, hanlp==2.1.0a16, hanlp==2.1.0a17, hanlp==2.1.0a18, hanlp==2.1.0a19, hanlp==2.1.0a2, hanlp==2.1.0a20, hanlp==2.1.0a21, hanlp==2.1.0a22, hanlp==2.1.0a23, hanlp==2.1.0a24, hanlp==2.1.0a25, hanlp==2.1.0a26, hanlp==2.1.0a27, hanlp==2.1.0a28, hanlp==2.1.0a3, hanlp==2.1.0a4, hanlp==2.1.0a5, hanlp==2.1.0a6, hanlp==2.1.0a7, hanlp==2.1.0a8, hanlp==2.1.0a9, hanlp==2.1.0b0, hanlp==2.1.0b1, hanlp==2.1.0b10, hanlp==2.1.0b11, hanlp==2.1.0b12, hanlp==2.1.0b13, hanlp==2.1.0b14, hanlp==2.1.0b15, hanlp==2.1.0b16, hanlp==2.1.0b17, hanlp==2.1.0b18, hanlp==2.1.0b19, hanlp==2.1.0b2, hanlp==2.1.0b20, hanlp==2.1.0b21, hanlp==2.1.0b22, hanlp==2.1.0b23, hanlp==2.1.0b24, hanlp==2.1.0b25, hanlp==2.1.0b26, hanlp==2.1.0b27, hanlp==2.1.0b28, hanlp==2.1.0b29, hanlp==2.1.0b3, hanlp==2.1.0b30, hanlp==2.1.0b31, hanlp==2.1.0b32, hanlp==2.1.0b33, hanlp==2.1.0b34, hanlp==2.1.0b35, hanlp==2.1.0b36, hanlp==2.1.0b37, hanlp==2.1.0b38, hanlp==2.1.0b39, hanlp==2.1.0b4, hanlp==2.1.0b40, hanlp==2.1.0b41, hanlp==2.1.0b42, hanlp==2.1.0b43, hanlp==2.1.0b44, hanlp==2.1.0b5, hanlp==2.1.0b6, hanlp==2.1.0b7, hanlp==2.1.0b8 and hanlp==2.1.0b9 because these package versions have conflicting dependencies.
The conflict is caused by:
hanlp 2.1.0b44 depends on torch>=1.6.0
hanlp 2.1.0b43 depends on torch>=1.6.0
hanlp 2.1.0b42 depends on torch>=1.6.0
hanlp 2.1.0b41 depends on torch>=1.6.0
hanlp 2.1.0b40 depends on torch>=1.6.0
hanlp 2.1.0b39 depends on torch>=1.6.0
hanlp 2.1.0b38 depends on torch>=1.6.0
hanlp 2.1.0b37 depends on torch>=1.6.0
hanlp 2.1.0b36 depends on torch>=1.6.0
hanlp 2.1.0b35 depends on torch>=1.6.0
hanlp 2.1.0b34 depends on torch>=1.6.0
hanlp 2.1.0b33 depends on torch>=1.6.0
hanlp 2.1.0b32 depends on torch>=1.6.0
hanlp 2.1.0b31 depends on torch>=1.6.0
hanlp 2.1.0b30 depends on torch>=1.6.0
hanlp 2.1.0b29 depends on torch>=1.6.0
hanlp 2.1.0b28 depends on torch>=1.6.0
hanlp 2.1.0b27 depends on torch>=1.6.0
hanlp 2.1.0b26 depends on torch>=1.6.0
hanlp 2.1.0b25 depends on torch>=1.6.0
hanlp 2.1.0b24 depends on torch>=1.6.0
hanlp 2.1.0b23 depends on torch>=1.6.0
hanlp 2.1.0b22 depends on torch>=1.6.0
hanlp 2.1.0b21 depends on torch>=1.6.0
hanlp 2.1.0b20 depends on torch>=1.6.0
hanlp 2.1.0b19 depends on torch>=1.6.0
hanlp 2.1.0b18 depends on torch>=1.6.0
hanlp 2.1.0b17 depends on torch>=1.6.0
hanlp 2.1.0b16 depends on torch>=1.6.0
hanlp 2.1.0b15 depends on torch>=1.6.0
hanlp 2.1.0b14 depends on torch>=1.6.0
hanlp 2.1.0b13 depends on torch>=1.6.0
hanlp 2.1.0b12 depends on torch>=1.6.0
hanlp 2.1.0b11 depends on torch>=1.6.0
hanlp 2.1.0b10 depends on torch>=1.6.0
hanlp 2.1.0b9 depends on torch>=1.6.0
hanlp 2.1.0b8 depends on torch>=1.6.0
hanlp 2.1.0b7 depends on torch>=1.6.0
hanlp 2.1.0b6 depends on torch>=1.6.0
hanlp 2.1.0b5 depends on torch>=1.6.0
hanlp 2.1.0b4 depends on torch>=1.6.0
hanlp 2.1.0b3 depends on torch>=1.6.0
hanlp 2.1.0b2 depends on torch>=1.6.0
hanlp 2.1.0b1 depends on torch>=1.6.0
hanlp 2.1.0b0 depends on torch>=1.6.0
hanlp 2.1.0a28 depends on torch>=1.6.0
hanlp 2.1.0a27 depends on torch>=1.6.0
hanlp 2.1.0a26 depends on torch>=1.6.0
hanlp 2.1.0a25 depends on torch>=1.6.0
hanlp 2.1.0a24 depends on torch>=1.6.0
hanlp 2.1.0a23 depends on torch>=1.6.0
hanlp 2.1.0a22 depends on torch>=1.6.0
hanlp 2.1.0a21 depends on torch>=1.6.0
hanlp 2.1.0a20 depends on torch>=1.6.0
hanlp 2.1.0a19 depends on torch>=1.6.0
hanlp 2.1.0a18 depends on torch>=1.6.0
hanlp 2.1.0a17 depends on torch>=1.6.0
hanlp 2.1.0a16 depends on torch>=1.6.0
hanlp 2.1.0a15 depends on torch>=1.6.0
hanlp 2.1.0a14 depends on torch>=1.6.0
hanlp 2.1.0a13 depends on torch>=1.6.0
hanlp 2.1.0a12 depends on torch>=1.6.0
hanlp 2.1.0a11 depends on torch>=1.6.0
hanlp 2.1.0a10 depends on torch>=1.6.0
hanlp 2.1.0a9 depends on torch>=1.6.0
hanlp 2.1.0a8 depends on torch>=1.6.0
hanlp 2.1.0a7 depends on torch>=1.6.0
hanlp 2.1.0a6 depends on torch>=1.6.0
hanlp 2.1.0a5 depends on torch>=1.6.0
hanlp 2.1.0a4 depends on torch>=1.6.0
hanlp 2.1.0a3 depends on torch>=1.6.0
hanlp 2.1.0a2 depends on torch>=1.6.0
hanlp 2.1.0a1 depends on torch>=1.6.0
hanlp 2.1.0a0 depends on torch>=1.6.0
hanlp 2.0.0a69 depends on tensorflow==2.3.0
hanlp 2.0.0a68 depends on tensorflow==2.3.0
hanlp 2.0.0a67 depends on tensorflow==2.3.0
hanlp 2.0.0a66 depends on tensorflow==2.3.0
hanlp 2.0.0a65 depends on tensorflow==2.3.0
hanlp 2.0.0a64 depends on tensorflow==2.3.0
hanlp 2.0.0a63 depends on tensorflow==2.3.0
hanlp 2.0.0a62 depends on tensorflow==2.3.0
hanlp 2.0.0a61 depends on tensorflow==2.3.0
hanlp 2.0.0a60 depends on tensorflow==2.3.0
hanlp 2.0.0a59 depends on tensorflow==2.3.0
hanlp 2.0.0a58 depends on tensorflow==2.3.0
hanlp 2.0.0a57 depends on tensorflow==2.3.0
hanlp 2.0.0a56 depends on tensorflow==2.3.0
hanlp 2.0.0a55 depends on tensorflow==2.3.0
hanlp 2.0.0a54 depends on tensorflow==2.3.0
hanlp 2.0.0a53 depends on tensorflow==2.3.0
hanlp 2.0.0a52 depends on tensorflow==2.3.0
hanlp 2.0.0a51 depends on tensorflow==2.3.0
hanlp 2.0.0a50 depends on tensorflow==2.1.0
hanlp 2.0.0a49 depends on tensorflow==2.1.0
hanlp 2.0.0a48 depends on tensorflow==2.1.0
hanlp 2.0.0a47 depends on tensorflow==2.1.0
hanlp 2.0.0a46 depends on tensorflow==2.1.0
hanlp 2.0.0a45 depends on tensorflow==2.1.0
hanlp 2.0.0a44 depends on tensorflow==2.1.0
hanlp 2.0.0a43 depends on tensorflow==2.1.0
hanlp 2.0.0a42 depends on tensorflow==2.1.0
hanlp 2.0.0a41 depends on tensorflow==2.1.0
hanlp 2.0.0a40 depends on tensorflow==2.1.0
hanlp 2.0.0a39 depends on tensorflow==2.1.0
hanlp 2.0.0a38 depends on tensorflow==2.1.0
hanlp 2.0.0a37 depends on tensorflow==2.1.0
hanlp 2.0.0a36 depends on tensorflow==2.1.0
hanlp 2.0.0a35 depends on tensorflow==2.1.0
hanlp 2.0.0a34 depends on tensorflow==2.1.0
hanlp 2.0.0a33 depends on tensorflow==2.1.0
hanlp 2.0.0a32 depends on tensorflow==2.1.0
hanlp 2.0.0a31 depends on tensorflow==2.1.0
hanlp 2.0.0a30 depends on tensorflow==2.1.0
hanlp 2.0.0a29 depends on tensorflow==2.1.0
hanlp 2.0.0a28 depends on tensorflow==2.1.0
hanlp 2.0.0a27 depends on tensorflow==2.1.0
hanlp 2.0.0a26 depends on tensorflow==2.1.0
hanlp 2.0.0a25 depends on tensorflow==2.1.0
hanlp 2.0.0a24 depends on tensorflow==2.1.0
hanlp 2.0.0a22 depends on tensorflow==2.1.0
hanlp 2.0.0a21 depends on tensorflow==2.1.0
hanlp 2.0.0a20 depends on tensorflow==2.1.0
hanlp 2.0.0a19 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a18 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a17 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a16 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a15 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a14 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a13 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a12 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a11 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a10 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a9 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a8 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a6 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a5 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a4 depends on tensorflow==2.1.0rc2
hanlp 2.0.0a3 depends on tensorflow==2.1.0rc2
To fix this you could try to:
- loosen the range of package versions you’ve specified
- remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit Dependency Resolution - pip documentation v23.0.dev0