forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7718 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
1f51c9c5a3
commit
2e51eb8b70
|
@ -157,8 +157,15 @@ on a Linux machine, it would typically be somewhere like
|
||||||
/usr/local/lib/python2.5/site-packages. Installing Python packages
|
/usr/local/lib/python2.5/site-packages. Installing Python packages
|
||||||
this way often requires you to be able to write to the Python
|
this way often requires you to be able to write to the Python
|
||||||
directories, which may require root priveleges, hence the "sudo"
|
directories, which may require root priveleges, hence the "sudo"
|
||||||
prefix. If this is not the case, you can drop the "sudo".
|
prefix. If this is not the case, you can drop the "sudo". If you use
|
||||||
|
the "sudo" prefix and you have installed Python yourself, you should
|
||||||
|
make sure that root uses the same Python as the one you did the
|
||||||
|
"install" in. E.g. these 2 commands may do the install in different
|
||||||
|
Python versions:
|
||||||
</P>
|
</P>
|
||||||
|
<PRE>python setup_serial.py install --home=~/foo
|
||||||
|
python /usr/local/bin/python/setup_serial.py install --home=~/foo
|
||||||
|
</PRE>
|
||||||
<P>Alternatively, you can install the LAMMPS files (or any other Python
|
<P>Alternatively, you can install the LAMMPS files (or any other Python
|
||||||
packages) in your own user space. The second "install" command does
|
packages) in your own user space. The second "install" command does
|
||||||
this, where you should replace "foo" with your directory of choice.
|
this, where you should replace "foo" with your directory of choice.
|
||||||
|
|
|
@ -153,7 +153,14 @@ on a Linux machine, it would typically be somewhere like
|
||||||
/usr/local/lib/python2.5/site-packages. Installing Python packages
|
/usr/local/lib/python2.5/site-packages. Installing Python packages
|
||||||
this way often requires you to be able to write to the Python
|
this way often requires you to be able to write to the Python
|
||||||
directories, which may require root priveleges, hence the "sudo"
|
directories, which may require root priveleges, hence the "sudo"
|
||||||
prefix. If this is not the case, you can drop the "sudo".
|
prefix. If this is not the case, you can drop the "sudo". If you use
|
||||||
|
the "sudo" prefix and you have installed Python yourself, you should
|
||||||
|
make sure that root uses the same Python as the one you did the
|
||||||
|
"install" in. E.g. these 2 commands may do the install in different
|
||||||
|
Python versions:
|
||||||
|
|
||||||
|
python setup_serial.py install --home=~/foo
|
||||||
|
python /usr/local/bin/python/setup_serial.py install --home=~/foo :pre
|
||||||
|
|
||||||
Alternatively, you can install the LAMMPS files (or any other Python
|
Alternatively, you can install the LAMMPS files (or any other Python
|
||||||
packages) in your own user space. The second "install" command does
|
packages) in your own user space. The second "install" command does
|
||||||
|
|
Loading…
Reference in New Issue