计算化学公社

 找回密码 Forget password
 注册 Register
Views: 567|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[其它程序] 哪位安装过phonopy ,安装后为啥没出现phonopy图标

[复制链接 Copy URL]

240

帖子

0

威望

1005

eV
积分
1245

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
  在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>


1060

帖子

0

威望

3262

eV
积分
4322

Level 6 (一方通行)

2#
发表于 Post on 2023-11-13 20:41:36 | 只看该作者 Only view this author
本帖最后由 乐平 于 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 版……


真是服了你了……

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2024-11-25 15:24 , Processed in 0.297480 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list