24小时热门版块排行榜    

查看: 3261  |  回复: 14

tt-0-8

银虫 (小有名气)

[求助] 求phononpy或frophon安装包

如题,谢谢!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

坚持就是胜利,哈哈
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖支持 ( 显示支持度最高的前 50 名 )

youzhizhe

荣誉版主 (职业作家)

有志者

优秀版主优秀版主

【答案】应助回帖

★ ★ ★
感谢参与,应助指数 +1
fzx2008: 金币+1, 谢谢指教 2012-03-24 19:09:38
tt-0-8: 金币+2, 有帮助 2012-03-24 20:15:58
推荐使用Ubuntu系统安装Phonopy,按照官方安装说明,可以轻松搞定。

转一个安装过程:http://blog.sina.com.cn/s/blog_4aba6f3d0100wjoe.html
我本人的安装手记http://blog.sina.com.cn/s/blog_4aba6f3d0100wkgm.html
微博http://weibo.com/10986069
14楼2012-03-24 19:00:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通回帖

fzx2008

荣誉版主 (著名写手)

优秀版主优秀版主

【答案】应助回帖

★ ★ ★
感谢参与,应助指数 +1
tt-0-8: 金币+2, 有帮助 2012-03-15 22:23:25
liliangfang: 金币+1, 多谢交流 2012-03-16 08:59:41
phononpy
http://sourceforge.net/projects/phonopy/

frophon
http://sourceforge.net/projects/fropho/files/


都是免费开源的,主页上都有download的链接。google一下即可。
2楼2012-03-15 21:50:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tt-0-8

银虫 (小有名气)

引用回帖:
2楼: Originally posted by fzx2008 at 2012-03-15 21:50:21:
phononpy
http://sourceforge.net/projects/phonopy/

frophon
http://sourceforge.net/projects/fropho/files/


都是免费开源的,主页上都有download的链接。google一下即可。

没有完整版的吗?这个我下了,但是不会装
坚持就是胜利,哈哈
3楼2012-03-15 22:23:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tt-0-8

银虫 (小有名气)

4楼2012-03-20 15:09:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主

【答案】应助回帖

★ ★ ★
感谢参与,应助指数 +1
tt-0-8: 金币+2, 有帮助 2012-03-20 17:04:52
uuv2010: 金币+1, 多谢解答 2012-03-21 10:55:58
官网上都有安装说明的吧,你看一下
博学、审问、慎思、明辨、笃学
5楼2012-03-20 16:59:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tt-0-8

银虫 (小有名气)

引用回帖:
5楼: Originally posted by zzy870720z at 2012-03-20 16:59:41:
官网上都有安装说明的吧,你看一下

看了,但我是在suse系统下安装,从网上下载的安装包总是出错啊
坚持就是胜利,哈哈
6楼2012-03-20 17:04:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主

uuv2010: , 欢迎参与讨论 2012-03-21 10:56:17
引用回帖:
6楼: Originally posted by tt-0-8 at 2012-03-20 17:04:38:
看了,但我是在suse系统下安装,从网上下载的安装包总是出错啊

什么错误给出来看看
博学、审问、慎思、明辨、笃学
7楼2012-03-20 17:08:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tt-0-8

银虫 (小有名气)

引用回帖:
7楼: Originally posted by zzy870720z at 2012-03-20 17:08:54:
什么错误给出来看看

安装phonopy出现下面提示:
Traceback (most recent call last):
  File "setup.py", line 3, in
    import numpy
  File "/root/Desktop/phonopy-1.2.1/numpy/__init__.py", line 127, in
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python intepreter from there.
安装numpy提示:
Running from numpy source directory.non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: svnversion: command not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib64
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib64
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib64
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib64
  libraries f77blas,cblas,atlas not found in /usr/lib
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1414: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in /usr/local/lib64
  libraries blas not found in /usr/local/lib
  libraries blas not found in /usr/lib64
  libraries blas not found in /usr/lib
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1423: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1426: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE

/bin/sh: svnversion: command not found
lapack_opt_info:
lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib64
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib64
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib64
  libraries lapack_atlas not found in /usr/local/lib64
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib64
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1330: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in /usr/local/lib64
  libraries lapack not found in /usr/local/lib
  libraries lapack not found in /usr/lib64
  libraries lapack not found in /usr/lib
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1341: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/system_info.py:1344: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE

running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelFCompiler
Found executable /bin/ifort
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgf90
Could not locate executable pgf77
customize AbsoftFCompiler
Could not locate executable f90
customize NAGFCompiler
Could not locate executable f95
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
customize IntelEM64TFCompiler
customize IntelEM64TFCompiler
customize IntelEM64TFCompiler using config
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.6 -c'
gcc: _configtest.c
gcc -pthread _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.6 -c'
gcc: _configtest.c
_configtest.c:1: 警告:与内建函数‘exp’类型冲突
gcc -pthread _configtest.o -o _configtest
_configtest.o: In function `main':
/root/Desktop/phonopy/numpy-1.6.1/_configtest.c:6: undefined reference to `exp'
collect2: ld 返回 1
_configtest.o: In function `main':
/root/Desktop/phonopy/numpy-1.6.1/_configtest.c:6: undefined reference to `exp'
collect2: ld 返回 1
failure.
removing: _configtest.c _configtest.o
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.6 -c'
gcc: _configtest.c
_configtest.c:1: 警告:与内建函数‘exp’类型冲突
gcc -pthread _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest
conv_template:> build/src.linux-x86_64-2.6/numpy/core/src/npymath/npy_math.c
conv_template:> build/src.linux-x86_64-2.6/numpy/core/src/npymath/ieee754.c
conv_template:> build/src.linux-x86_64-2.6/numpy/core/src/npymath/npy_math_complex.c
building extension "numpy.core._sort" sources
Generating build/src.linux-x86_64-2.6/numpy/core/include/numpy/config.h
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.6 -c'
gcc: _configtest.c
_configtest.c:1:20: 错误:Python.h:没有那个文件或目录
_configtest.c:1:20: 错误:Python.h:没有那个文件或目录
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 196, in
    setup_package()
  File "setup.py", line 189, in setup_package
    configuration=configuration )
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/core.py", line 186, in setup
    return old_setup(**new_attr)
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/install.py", line 55, in run
    r = old_install.run(self)
  File "/usr/lib64/python2.6/distutils/command/install.py", line 582, in run
    self.run_command('build')
  File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/build.py", line 37, in run
    old_build.run(self)
  File "/usr/lib64/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/build_src.py", line 152, in run
    self.build_sources()
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/build_src.py", line 169, in build_sources
    self.build_extension_sources(ext)
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/build_src.py", line 328, in build_extension_sources
    sources = self.generate_sources(sources, ext)
  File "/root/Desktop/phonopy/numpy-1.6.1/numpy/distutils/command/build_src.py", line 385, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 410, in generate_config_h
    moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
  File "numpy/core/setup.py", line 41, in check_types
    out = check_types(*a, **kw)
  File "numpy/core/setup.py", line 271, in check_types
    "Cannot compile 'Python.h'. Perhaps you need to "\
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
坚持就是胜利,哈哈
8楼2012-03-20 18:15:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主

【答案】应助回帖

★ ★ ★ ★ ★
贺仪: 金币+3, 谢谢指教! 2012-03-21 09:43:41
tt-0-8: 金币+2, 有帮助 2012-03-21 10:19:04
引用回帖:
8楼: Originally posted by tt-0-8 at 2012-03-20 18:15:12:
安装phonopy出现下面提示:
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    import numpy
  File "/root/Desktop/phonopy-1.2.1/numpy/__init__.py& ...

下载phonopy所必需的软件包:
•        Python and its header files
•        numpy
•        matplotlib
•        python-lxml
•        python-yaml

先依次安装下面那几个,在安装phonopy
博学、审问、慎思、明辨、笃学
9楼2012-03-21 09:24:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tt-0-8

银虫 (小有名气)

引用回帖:
9楼: Originally posted by zzy870720z at 2012-03-21 09:24:54:
下载phonopy所必需的软件包:
•        Python and its header files
•        numpy
•        matplotlib
•        python-lxml
•        python-yaml

先依次安装下面那几个,在安装phonopy

但是我安装这几个软件包时也有错误,上面给出numpy的错误,后面的错误也跟这个有关
坚持就是胜利,哈哈
10楼2012-03-21 10:18:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 tt-0-8 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 0XLacIJUOj8D 2026-08-24 3/150 2026-08-25 01:47 by BZKMTicpDhFj
[基金申请] 明天应该可查了!? +5 chengyan1220 2026-08-23 5/250 2026-08-24 23:28 by 我4大白菜
[基金申请] 没有任何消息-是不是就凉了 +7 图啦图啦 2026-08-24 8/400 2026-08-24 22:00 by maomao_da
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 0XLacIJUOj8D 2026-08-24 3/150 2026-08-24 21:59 by BZKMTicpDhFj
[基金申请] 我面上完蛋了 +9 且听虎啸 2026-08-20 10/500 2026-08-24 20:08 by 苦寒来香
[基金申请] filecode,4个jtjc了 +14 ziyangfang 2026-08-19 17/850 2026-08-24 18:37 by 哈哈蛤?
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +17 医学老男孩 2026-08-20 21/1050 2026-08-24 14:21 by refreshing11
[基金申请] 范进中举一文的中心思想 +6 炎黄贵胄 2026-08-22 7/350 2026-08-24 11:58 by 6543yes
[基金申请] 朋友圈看到的 +7 wangzilk 2026-08-18 9/450 2026-08-24 10:50 by cmrandy
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 16/800 2026-08-24 10:23 by 太傻了
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 只有每年这种时候来逛逛小木虫 +24 yaoyewhu2008 2026-08-20 26/1300 2026-08-22 17:43 by kammury
[基金申请] 今天基金会出结果吗?20260819 +16 kkkl_v 2026-08-19 17/850 2026-08-22 16:12 by 阿布Abu
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 重要消息,中午系统在维护 +11 yuleib84 2026-08-18 12/600 2026-08-20 11:09 by xskun
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见