[DFTB-Plus-User] How to install dptools
Bhatt, Mahesh
M.D.Bhatt at warwick.ac.uk
Thu Nov 15 20:01:56 CET 2012
Hi,
I tried to install dptools according to suggestion got in previous mails, but I really don't understand the word --prefix in the home directory.
I got the following errors after using the options:
export PATH=$PATH:/home/user/dptools/bin
export PYTHONPATH=$PYTHONPATH:/home/user/dptools/lib/pythonX.Y/site-packages
msslax at inchcape:/storage/csc/msslax/dftbplus/dptools-0.1p3> python setup.py --prefix /home/csc/msslax/TOOLS/dptools-0.1p3usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --prefix not recognized
Sincerely
Mahesh
________________________________________
From: dftb-plus-user-bounces at dftb-plus.info [dftb-plus-user-bounces at dftb-plus.info] on behalf of Bálint Aradi [balint.aradi at bccms.uni-bremen.de]
Sent: Tuesday, November 06, 2012 4:15 PM
To: User list for DFTB+ related questions
Subject: Re: [DFTB-Plus-User] How to install dptools
On 11/06/2012 05:03 PM, Bhatt, Mahesh wrote:
> Hi,
> We don't have python 2.7, but we have python 2.6. I followed your guidence and tried to install, but I got the following error message:
>
> msslax at inchcape:/storage/csc/msslax/dftbplus/dptools-0.1p3> python setup.py install
> running install
> running build
> running build_py
> running build_scripts
> running install_lib
> creating /usr/local/lib64/python2.6
> error: could not create '/usr/local/lib64/python2.6': Permission denied
If you have no root rights, you would not be able to install things
into /usr/local. You should use the --home or --prefix optins.
Please, either contact your system administator or look up the details
of installing python modules via distutils. One description you find here:
http://docs.python.org/2/install/
but googling around could give you also shorter (less detailed) ones.
Best regards,
Bálint
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b_aradi/
More information about the DFTB-Plus-User
mailing list