2
votes

I get the following error when i tried to install scipy.state . I am running pip3 on a windows 10 machine with Python 3.8.1.

-I have installed Scipy first

C:\WINDOWS\system32>pip3 install scipy Requirement already satisfied: scipy in c:\users\elnaz khatmi\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (1.4.1) Requirement already satisfied: numpy>=1.13.3 in c:\users\elnaz khatmi\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from scipy) (1.18.1)

-and then i installed scipy.state but i see an error:

C:\WINDOWS\system32>pip3 install scipy.stats ERROR: Could not find a version that satisfies the requirement scipy.stats (from versions: none) ERROR: No matching distribution found for scipy.stats

I tried to uninstall and reinstall it but i have got the following error

C:\WINDOWS\system32>pip3 install --upgrade --force-reinstall --user scipy.stats ERROR: Could not find a version that satisfies the requirement scipy.stats (from versions: none) ERROR: No matching distribution found for scipy.stats

1

1 Answers

1
votes

You just have to install scipy.

C:\WINDOWS\system32>pip3 install scipy

Once scipy is installed, scipy.stats is usable in python with :

from scipy import stats