|
[Sponsors] |
May 12, 2024, 18:06 |
./meson.py problem in installation
|
#1 |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4 |
Hello everybody,
I am trying to install SU2 to a computer via ssh connection which runs on CentOS. I am not an administrator so I am not able to use sudo command. Python version is 3.6.6. When I try to configure I end up getting following error: Code:
File "./meson.py", line 39, in <module> preconfigure.run(own_meson=True) File "/t/home/s/programs/SU2/preconfigure.py", line 97, in run own_mlpcpp=own_mlpcpp, File "/t/home/s/programs/SU2/meson_scripts/init.py", line 112, in init_submodules submodule_status(alt_name_codi, sha_version_codi) File "/t/home/s/programs/SU2/meson_scripts/init.py", line 189, in submodule_status status = subprocess.run( AttributeError: 'module' object has no attribute 'run' |
|
May 16, 2024, 18:23 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 635
Rep Power: 18 |
Are you sure about the python version? Run() was introduced in Python 3.5, so this message usually means you are using an older version, probably python2. Probably the command "python" is coupled to python2, and you should use "python3", which links to python-3.6.6
|
|
May 18, 2024, 15:05 |
|
#3 | |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4 |
Quote:
It was like you said at first but I changed the python version in .bashrc file using ALIAS command and when I type python in terminal it starts with python 3.6.6. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] [OpenFOAM plus] [v1612+] swak4Foam installation problem in Windows (Allwmake) | LThomes | OpenFOAM Community Contributions | 7 | October 6, 2020 14:36 |
[OpenFOAM.org] Installation problem for paraView 4.1 to go with OpenFOAM-2.4.0-MNF | deepbandivadekar | OpenFOAM Installation | 2 | October 25, 2017 09:45 |
[foam-extend.org] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem | icab | OpenFOAM Installation | 5 | April 8, 2017 08:09 |
Installation problem - calling blockMesh - libblockMesh.so | aylalisa | OpenFOAM Installation | 5 | November 28, 2012 10:55 |
ParaView installation problem on Suse 11.4 | victorz | OpenFOAM Installation | 4 | February 6, 2012 18:26 |