So I installed the newest python version for the arena
wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz
tar -xzvf Python-3.7.3.tgz
cd Python-3.7.3
mkdir build
cd build
../configure --enable-optimizations --with-ensurepip=install
make -j8
make altinstall
update-alternatives --install /usr/bin/python python /usr/local/bin/python3.7 50
alias pip=pip3.7
alias pip3=pip3.7
alias python3=python
but makefiles do not see the symbolic links that update-alternatives and alias provides -- therefore "make" will fail with
pip3: unknown command
What does work is if you replace pip3 in the makefile with
pip3.7
and python3 in the makefile with
python3.7
?? Is there a better way to get around this? I think for the competition I will tell people to change their make file.
Do you know if python3 -m pip ... would work instead? That's what I have to use on Windows for pip3. If that works we could just update the Makefile to that.
So I installed the newest python version for the arena
wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz tar -xzvf Python-3.7.3.tgz cd Python-3.7.3 mkdir build cd build ../configure --enable-optimizations --with-ensurepip=install make -j8 make altinstall update-alternatives --install /usr/bin/python python /usr/local/bin/python3.7 50 alias pip=pip3.7 alias pip3=pip3.7 alias python3=python
but makefiles do not see the symbolic links that update-alternatives and alias provides -- therefore "make" will fail with
pip3: unknown command
What does work is if you replace pip3 in the makefile with
pip3.7
and python3 in the makefile with
python3.7
?? Is there a better way to get around this? I think for the competition I will tell people to change their make file.