Good afternoon,
I am working on a program install in VMware15 Ubuntu (20.04). The installation instructions are causing me issues as a entry-level user, so I wanted to see if anyone could make sense of the issues. For reference, the end goal of the install is to run a python file 'setup.py'
I believe that conflicting versions of python are causing interference when trying to run commands.
The instructions and errors() are as follows:
sudo apt-get update
sudo apt-get upgrade
sudo apt install python2.7
sudo apt install python-pip (E: no installation candidate)
sudo snap install pycharm-community --classic
sudo pip install openmdao
sudo python -m pip install -U matplotlib
sudo apt-get install python-tk
sudo apt-get install libopenblas-dev
sudo apt-get install libblas-dev liblapack-dev
sudo apt-get install libpcre3 libpcre3-dev
sudo apt-get install swig
sudo apt-get install python-mpi4py (E: Unable to locate package python-mpi4py)
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt install gfortran-8
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 1
After these instructions are preformed, the setup file should run.
Attempting to run prompts (RuntimeError: Python version >= 3.7 required)
I am sorry for the novice question, I'm sure this is likely a simple fix, thank you in advance for any advice.
Additional note: the project has dependency on python2.7 features due to its nature, so operating on 3.7 is not a option.