|
看USPEX的README,里面写的很清楚了。需要设置环境变量。
*** For updating USPEX using "USPEX -u", "requests" and "zipfile" libraries
must be installed for python3.
****************************************************
*** (1) INSTALLATION ***
****************************************************
* For Installation of USPEX + MCR(R2016b) you need
to run install.sh and follow the instruction.
./install.sh
* If you want to install the codes in the root
partition then you need to run install.sh as follow:
sudo ./install.sh
* It is essential to run the following command to
avoid encountering errors when running USPEX
examples and make working with USPEX more pleasant.
chmod +rw -R /installation path of USPEX/application/archive/
****************************************************
*** (2) Setup the environment variables ***
****************************************************
* If you choose graphical installation, you must
setup environmental variables manually (in terminal
installation, the environmental variables would be
added automatically).
Setup the environment variables for MATLAB runtime
and USPEX by adding the following path to the bashrc
file.
For Bash shell system, add these lines in ~/.bashrc or ~/.profile or /etc/profile:
export MCRROOT=/installation PATH of MCR/
export PATH=/installation PATH of USPEX/application/archive/:$PATH
export USPEXPATH=/installation PATH of USPEX/application/archive/src
For C shell system, add these lines in ~/.cshrc or ~/.profile or /etc/profile:
setenv MCRROOT "/installation PATH of MCR/"
setenv PATH "/installation PATH of USPEX/application/archive/:$PATH"
setenv USPEXPATH "/installation PATH of USPEX/application/archive/src"
按着说明一步步来,另外,我给calypso打广告。这个更易上手和使用。我个人见解。 |
|