我试图将 mplcursers 安装到我的 PC 上。我试过了:
pip install mplcursors
它给了我错误:
Collecting mplcursors
Could not find a version that satisfies the requirement mplcursors (from versions: )
No matching distribution found for mplcursors
我也试过:
pip install git+https://github.com/anntzer/mplcursors
它给了我错误:
Collecting git+https://github.com/anntzer/mplcursors
Cloning https://github.com/anntzer/mplcursors to /tmp/pip-VP7mtD-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-VP7mtD-build/setup.py", line 1, in <module>
from setupext import find_packages, setup
File "setupext.py", line 16, in <module>
from pathlib import Path
ImportError: No module named pathlib
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-VP7mtD-build/
任何人都知道如何解决问题并安装 mplcursors?