Re: [Phonopy-users] ImportError: No module named phonopy
Brought to you by:
atztogo
|
From: Eugene <rog...@ho...> - 2015-03-30 14:10:46
|
Hi, You should extend your variable environment by putting something like: export PYTHONPATH=/PATH_WHERE_PHONOPY_INSTALLED/lib64/python$PYTHONPATH into $HOME/.bashrc or .bash_profile or any other starting shell script Cheers On 30.03.2015 16:50, 蒋浩然 wrote: > Dear all, > > I want to install phonopy on the workstation through SSH, and I follow the > steps on the official website (http://phonopy.sourceforge.net/install.html): > > 1. sudo yum install python-devel python-numpy python-matplotlib python-yaml > > 2. tar -zxvf phonopy-1.9.3.tar.gz > > 3. vi ~/.bashrc: export PYTHONPATH=~/phonopy-1.9.3/lib/python > > 4. python setup.py install --home=. > > However, after installation, when I run "phonopy", it cannot be used and > says that: > > Traceback (most recent call last): > File "/usr/bin/phonopy", line 40, in <module> > from phonopy import * > ImportError: No module named phonopy > > > I have tried many ways to solve this problem but no one works. Am I missing > something? I'll appreciate if you can give me some advice. > > Best Regards, > Haoran > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Phonopy-users mailing list > Pho...@li... > https://lists.sourceforge.net/lists/listinfo/phonopy-users |