Boa tarde, Ao tentar instalar o pandas 0.22.0, não foi possível. Então segui as instruções dadas a outro aluno no fórum, fazendo o seguinte:
# first install python 3.6
!sudo apt-get update -y
!sudo apt-get install python3.6
# change alternatives
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
# select python version
!sudo update-alternatives --config python3
# check python version
!python --version
# install pip for new python
!sudo apt-get install python3.6-distutils
!wget https://bootstrap.pypa.io/get-pip.py
!python get-pip.py
# upgrade pip
!sudo apt install python3-pip
!python -m pip install --upgrade pip
Isso rodou, porém ao passar para o próximo passo sugerido, surgiu erro:
!pip install pandas=='0.22.0'
!pip install numpy== '1.14.6'
!pip install seaborn=='0.7.1'
!pip install scipy=='1.1.0'
Collecting pandas==0.22.0
Using cached pandas-0.22.0.tar.gz (11.3 MB)
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Could not find a version that satisfies the requirement numpy== (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0rc1, 1.25.0, 1.25.1, 1.25.2, 1.26.0b1, 1.26.0rc1, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0b1, 2.0.0rc1)
ERROR: No matching distribution found for numpy==
Collecting seaborn==0.7.1
Downloading seaborn-0.7.1.tar.gz (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.1/158.1 kB 3.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: seaborn
Building wheel for seaborn (setup.py) ... done
Created wheel for seaborn: filename=seaborn-0.7.1-py3-none-any.whl size=165907 sha256=e120b5270310753867ce45ca1c2d54b56712da0c40e9d0dada914e6642478863
Stored in directory: /root/.cache/pip/wheels/c3/c5/4a/569affe79001d47b6706607d8470c5ff7aed0b11adcaa8f748
Successfully built seaborn
Installing collected packages: seaborn
Attempting uninstall: seaborn
Found existing installation: seaborn 0.13.1
Uninstalling seaborn-0.13.1:
Successfully uninstalled seaborn-0.13.1
Successfully installed seaborn-0.7.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: The following packages were previously imported in this runtime:
[seaborn]
You must restart the runtime in order to use newly installed versions.
Collecting scipy==1.1.0
Using cached scipy-1.1.0.tar.gz (15.6 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: scipy