计算化学公社

标题: 哪位安装过phonopy ,安装后为啥没出现phonopy图标 [打印本页]

作者
Author:
wmg166    时间: 2023-11-13 16:26
标题: 哪位安装过phonopy ,安装后为啥没出现phonopy图标
  在centos系统下的base环境中安装  phonopy ,出现这样的提示:
Installed /home/wmg/anaconda3/lib/python3.11/site-packages/phonopy-1.11.2-py3.11-linux-x86_64.egg

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>



作者
Author:
乐平    时间: 2023-11-13 20:41
本帖最后由 乐平 于 2023-11-13 20:47 编辑

哎……
你都没安装成功,就着急使用……

你看看你之前的帖子,都是第一步都没成功,就开始做后续的事情…… 哪有你这样的啊……

如何安装 phonopy 我在前面的帖子里已经把每一步都说得很详细了,还给你提供了参考的官网
http://bbs.keinsci.com/forum.php ... 270424&fromuid=1532

让你用 conda install -c conda-forge phonopy 你不听

phonopy 现在最新的是 2.20.0版,而你却安装 phonopy-1.11.2 版……


真是服了你了……





欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3