| 查看: 2210 | 回复: 1 | ||
qq498612563新虫 (初入文坛)
|
[求助]
phonopy安装的问题
|
|
http://muchong.com/bbs/viewthread.php?tid=4874998&fpage=1 按照这个帖子里面安装matplotlib时遇到的问题,好像python的环境变量设置有问题, 我用的fedora系统,系统自带的python2.7.8 和numpy1.8.2 [root@localhost matplotlib-1.4.2]# python2.7 setup.py install --home=/home//phonopy-1.9.2.1 ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [1.4.2] python: yes [2.7.8 (default, Nov 10 2014, 08:19:26) [GCC 4.9.2 20141101 (Red Hat 4.9.2-1)]] platform: yes [linux2] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.8.2] six: yes [using six version 1.7.3] dateutil: yes [using dateutil version 1.5] pytz: yes [using pytz version 2012d] tornado: yes [using tornado version 3.2.1] pyparsing: yes [using pyparsing version 2.0.1] pycxx: yes [Couldn't import. Using local copy.] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: yes [version 2.5.3] png: yes [version 1.6.10] qhull: yes [pkg-config information for 'qhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] tests: yes [using nose version 1.3.4 / mock is required to run the matplotlib test suite. pip/easy_install may attempt to install it after matplotlib.] toolkits_tests: yes [using nose version 1.3.4 / mock is required to run the matplotlib test suite. pip/easy_install may attempt to install it after matplotlib.] OPTIONAL BACKEND EXTENSIONS macosx: no [Mac OS-X only] qt5agg: no [PyQt5 not found] qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6] pyside: no [PySide not found] gtk3agg: yes [installing, version 3.5.14] gtk3cairo: yes [installing, version 3.5.14] gtkagg: no [The C/C++ header for pygtk (pygtk/pygtk.h) could not be found. You may need to install the development package.] tkagg: yes [installing, version 81008] wxagg: yes [installing, version 2.8.12.0] gtk: no [The C/C++ header for pygtk (pygtk/pygtk.h) could not be found. You may need to install the development package.] agg: yes [installing] cairo: yes [installing, pycairo version 1.8.10] windowing: no [Microsoft Windows only] OPTIONAL LATEX DEPENDENCIES dvipng: yes [version 1.14] ghostscript: yes [version 9.14] latex: yes [version 3.14159265] pdftops: yes [version 0.26.2] running install Checking .pth file support in /home//phonopy-1.9.2.1/lib/python/ /bin/python2.7 -E -c pass TEST FAILED: /home//phonopy-1.9.2.1/lib/python/ does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /home//phonopy-1.9.2.1/lib/python/ and your PYTHONPATH environment variable currently contains: '/home/gate/phonopy-1.9.2.1/lib64/python' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: https://pythonhosted.org/setupto ... tallation-locations Please make the appropriate changes for your system and try again. |
» 猜你喜欢
谈谈两天一夜的“延安行”
已经有15人回复
EST投稿状态问题
已经有6人回复
职称评审没过,求安慰
已经有15人回复
垃圾破二本职称评审标准
已经有11人回复
投稿Elsevier的Neoplasia杂志,到最后选publishing options时页面空白,不能完成投稿
已经有16人回复
毕业后当辅导员了,天天各种学生超烦
已经有4人回复
聘U V热熔胶研究人员
已经有10人回复
求助文献
已经有3人回复
投稿返修后收到这样的回复,还有希望吗
已经有8人回复
三无产品还有机会吗
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
PWscf 安装运行问题
已经有14人回复
Phonopy的安装
已经有4人回复
MS7.0安装问题
已经有5人回复
关于硅碳棒安装问题~~~
已经有3人回复
计算phonopy 提示没安装python-lxml
已经有14人回复
phonopy计算声子谱时的q点路径问题求助
已经有7人回复
关于VS2010安装的问题
已经有6人回复
用phonopy-qha计算热力学性质的问题
已经有14人回复
用phonopy算声子谱的问题
已经有3人回复
MS6.0安装错误
已经有3人回复
求助phonopy的安装
已经有3人回复
linux 安装 ansys14
已经有6人回复
怎么用VASP计算声子谱
已经有4人回复
VASP+phonopy INCAR 参数设定问题?
已经有12人回复
求助 MS6.0 集群安装
已经有7人回复
请问有没有人用Vasp算过声子,我们组里还没有人会跑,各位大神,拜托,拜托
已经有14人回复
关于phonopy的小问题
已经有3人回复
MS 安装问题解决方案总结
已经有38人回复
用phonopy计算声子谱的问题
已经有16人回复
【求助】Phonopy 计算声子频率的问题
已经有9人回复
【转帖】强烈推荐使用phonopy计算声子谱
已经有44人回复
就laikankan
新虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 74.3
- 红花: 1
- 帖子: 7
- 在线: 30.5小时
- 虫号: 1164480
- 注册: 2010-12-07
- 性别: MM
- 专业: 有色金属冶金













回复此楼