Download error on https://pypi.org/simple/fonttools/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'fonttools' (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for fonttools>=4.22.0
error: Could not find suitable distribution for Requirement.parse('fonttools>=4.22.0')
输入phonopy 出现:
File "/home/wmg/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 631, in _build_master
ws.require(__requires__)
File "/home/wmg/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 968, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wmg/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/home/wmg/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 875, in _resolve_dist
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (phonopy 2.20.0 (/home/wmg/anaconda3/lib/python3.11/site-packages/phonopy-2.20.0-py3.11-linux-x86_64.egg), Requirement.parse('phonopy==1.11.2'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/wmg/anaconda3/bin/phonopy", line 4, in <module>
__import__('pkg_resources').run_script('phonopy==1.11.2', 'phonopy')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wmg/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 3327, in <module>