Re: Installation of Salome 7.4.0. in Linux
Posted: 16 Apr 2018, 00:27
Running Salome 8.3.0 in Ubuntu 16.04 with anaconda3 and miniconda3 installed:
When anaconda and miniconda are installed in Ubuntu 16.04 with Salome 8.3.0 installed, the environmental variables default provided by anaconda installer might interfere the loading or initialization of Salome , and the error results as follow:
Inorder to solve the abovementioned issue, the following workout must be done in the bashrc file
1.
Reference: https://stackoverflow.com/questions/246 ... the-termin
2.
or alternatively, alias can be utilized to conda applicationas as provided or given in
http://agilesofttech.com/how-to-activat ... gh-python/
To activate miniconda3 and anaconda3, the following commands must be typed respectively at terminal:
#For miniconda3
For anaconda3
yours sincerely,
Anil Kunwar
When anaconda and miniconda are installed in Ubuntu 16.04 with Salome 8.3.0 installed, the environmental variables default provided by anaconda installer might interfere the loading or initialization of Salome , and the error results as follow:
Code: Select all
File "/home/user/salome_version8300/SALOME-8.3.0-UB16.04/./salome", line 26
except Exception, e:
^
SyntaxError: invalid syntax
1.
Code: Select all
# added by Miniconda3 installer
#export PATH="/home/user/miniconda3/bin:$PATH"
#modification made to use both Salome 8.3.0 and miniconda3 related applications
export PATH="$PATH:/home/user/miniconda3/bin"
# added by Anaconda3 installer
#export PATH="/home/user/anaconda3/bin:$PATH"
#modification to use both Salome 8.3.0 and anaconda3 related applications
export PATH="$PATH:/home/user/anaconda3/bin"
2.
or alternatively, alias can be utilized to conda applicationas as provided or given in
http://agilesofttech.com/how-to-activat ... gh-python/
Code: Select all
# added by Miniconda3 installer
#export PATH="/home/user/miniconda3/bin:$PATH"
#use alias
alias myminiconda='export PATH="/home/user/miniconda3/bin:$PATH"'
# added by Anaconda3 installer
#export PATH="/home/user/anaconda3/bin:$PATH"
#use alias
alias myanaconda='export PATH="/home/user/anaconda3/bin:$PATH"'
#For miniconda3
Code: Select all
$ myminiconda
Code: Select all
$ myanaconda
Anil Kunwar