I sounds like you haven't added phonopy to the PYTHONPATH. Go to the
.bashrc file and add:
On Thu, October 11, 2012 12:39 pm, ragesh c wrote:
> dear sir,
> i just followed your instruction and added the path of phonopy in .bashrc
> file as "export PATH=/home/rag/phonopy-1.5/bin:$PATH"
> and den run command "phonopy -p" and i got following error
> rag@...$ phonopy -p
> Traceback (most recent call last):
> Â File "/home/rag/phonopy-1.5/bin/phonopy", line 40, in <module>
> Â Â from phonopy import *
> ImportError: No module named phonopy
> let me know what is wrong now ?..is my phonopy working now ....?..i feel
> its working because it dont show the error message 'phonopy' command is
> not found which was my problem last time
> --- On Fri, 5/10/12, "Alejandro RÃ©bola" <arebol2@...> wrote:
>> From: "Alejandro RÃ©bola" <arebol2@...>
>> Subject: Re: [Phonopy-users] phonopy instalation
>> To: "ragesh c" <crnambiar86@...>
>> Date: Friday, 5 October, 2012, 11:24 AM
>> Dear Ragesh,
>> Have you also add the phonopy executables to the PATH in the
>> .bashrc file?
>> export PATH=~/phonopy-1.5/bin:$PATH
>> you may have to change it, I think in your case it'd be:
>> export PATH=/home/rag/phonopy-1.5/bin:$PATH
>> you installed phonopy in your home directory, but you have
>> to tell the
>> computer where to look for the executables. Open the .bashrc
>> file (vi
>> ~/.bashrc) and copy the export PATH line there.
>> Hope it helps.
>> On Fri, October 5, 2012 12:02 am, ragesh c wrote:
>> > Respected sir,
>> >Â Â Â Â I am student in
>> Nanotechnology from India.Â i would like to learn
>> > the softwer phonopy , but i got installation problem. I
>> wish if
>> > someoneÂ could help me ...i jus followed the
>> instructionÂ and done
>> > % sudo apt-get install python-dev python-numpy
>> > python-tk python-lxml python-yaml
>> > % tar xvfz phonopy-0.9.3.tar.gz
>> > % cd phonopy-0.9.3
>> > % python setup.py install Ã¢â¬âhome=.
>> > and it was showing installation ..but after that when i
>> went to example
>> > folder of silicon an runÂ Â Â % phonopy
>> -pÂ Â Â commandÂ Â Â , its showing
>> > not found
>> > i didn understand two things
>> > 1.Add the phonopy library directory
>> > export
>> > 2.The command phonopy is located in the bin directory.
>> The install
>> > location can be specified by the option --home.
>> >Â Â Â Â what should i do with these
>> two things?....how can i check whether
>> > phonopy is installed properly...how can i run the
>> > python path for phonpy in my system is.....
>> > /home/rag/phonopy-1.5/lib/python
>> > sorry if i am asking some foolish things .!!.i am
>> really not good with
>> > UBANTU though i am trying hard to learn it
>> > any reply will be greatly appreciated
>> > regards
>> > Ragesh C
>> > Don't let slow site performance ruin your business.
>> Deploy New Relic APM
>> > Deploy New Relic app performance management and know
>> > what is happening inside your Ruby, Python, PHP, Java,
>> and .NET app
>> > Try New Relic at no cost today and get our sweet Data
>> Nerd shirt too!
>> > http://p.sf.net/sfu/newrelic-dev2dev
>> > _______________________________________________
>> > Phonopy-users mailing list
>> > Phonopy-users@...
>> > https://lists.sourceforge.net/lists/listinfo/phonopy-users