3

I'm new in Google Collab and I cannot downgrade a version of scipy I am needing for.

I did what other question suggests, installing old version using pip or pip3, but I am still having the version I don't want it.

My code:

!pip3 install scipy==1.2.1
import scipy
print(scipy.__version__)

I get:

Requirement already satisfied: scipy==1.2.1 in /usr/local/lib/python3.6/dist-packages (1.2.1)
Requirement already satisfied: numpy>=1.8.2 in /usr/local/lib/python3.6/dist-packages (from scipy==1.2.1) (1.18.2)
1.4.1

Any suggestion? Thanks in advance

My google colab:

enter image description here

Henry Navarro
  • 943
  • 8
  • 34

1 Answers1

1

Select

MENU > Runtime > Restart runtime...

Then check again.

import scipy
print(scipy.__version__)

enter image description here

korakot
  • 37,818
  • 16
  • 123
  • 144