Error intalling scipy for python 3.5 - python-3.x

Got an error installing scipy package (see attachement) from prompt. Windows 7, 64bit, Python 3.5.1. Also tryed scipy-0.19.0-cp35-cp35m-win_amd64.whl but got a scipy-0.19.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform response. So how to find the supported wheel? Thanks in advance!
UPDATE: Didn't find the way to install scipy package itself but installed Anaconda and made it as a default PyCharm Python interpreter, scipy imports properly now.

Update you pip
pip install --upgrade pip
And then try
pip install scipy

Related

How can I resolve an issue installing numpy and other packages on a new Mac?

I installed the universal2 installation of python 3.9.1 from python.org, and the latest version of pip. I am running into an issue where if I try to install common packages (like numpy or pandas) I get an error message stating "ERROR: Could not build wheels for bumpy which use PEP 517 and cannot be installed directly". Is there any workaround? Surely there is a way to install a common package like numpy to run on Apple Silicon. Thanks for the help.
This often indicates that you have out-of-date packages. Do these upgrades:
pip install --upgrade pip setuptools wheel
and then try again.

Unable to install cv2 in Python 3.5 on Ubuntu

I have created a virtual environment on Ubuntu 18.0 series with Python 3.5. I am unable to import cv2, error is no module found and a trace back related to Python 2.7. I have already pip installed opencv-Python and opencv-contrib-Python but still the issue persists.
Please help at the earliest.
There a few ways you could go about this:
Using python3
Try:
python3 -m pip install opencv-python opencv-contrib-python
Deactivate your virtual enviroment
Try deactivating your virtual environment by typing deactivate and re-activating it again.
And If all else fails:
Reinstalling Python
Python 3.5 and below no longer has official support, so that may (most likely not) be the problem.
My Tutorial for re-installing python can be found here.
After that, try:
pip install opencv-python opencv-contrib-python

mystic 0.3.3 has requirement numpy<1.16.0,>=1.0, but you'll have numpy 1.16.2 which is incompatible

I'm using python 3.7 on my windows 10 system.I'm trying to install library reuqests. So I used following code
pip install requests
I got the error message
mystic 0.3.3 has requirement numpy<1.16.0,>=1.0, but you'll have numpy 1.16.2 which is incompatible.
Can you suggest me how to resolve this issue?
I got same issue during fastai package installation, uninstalled numpy and installing mystic package using anaconda prompt fixed the issue
pip uninstall numpy
pip install mystic

Not able to install scipy, matplotlob and scikit-learn using pip 1.5.6

Trying to install
pip install numpy
pip install scipy
pip install matplotlib
pip install scikit-learn
It failed with scipy, matplotlib and scikit-learn.
(from https://pypi.python.org/simple/scipy/) because it is not compatible with this Python
Skipping
My python version is 3.4 and pip version is 1.5.6
please help me install those above package
With pip 1.5.6 it will try to compile those projects from source which requires a lot of system dependencies (especially for scipy, you need gfortran and an optimized BLAS/LAPACK implementation).
I assume you are using the system provided version of pip under Linux. I would recommend to either use the latest version of pip (8.1 or later) in an a virtualenv (to avoid replacing the files of the system installed version of pip). Then you should be able to install manylinux wheels which do not require the compilation step.
Alternatively you can install miniconda and install those packages with the conda command line instead of pip.
Forget shitty pip, which is flawed beyond repair (static linking etc.)
Download IPython with the Anaconda Suite.... https://www.continuum.io/downloads
It brings most of the needed modules for scientific computing (as it is a crappy task if you have to download stuff to site-packages and run python setup.py install 3781 times..)
I wrote several programs using matplotlib, scipy, numpy etc with it..
Moreover it sports module package manager (comparable to Synaptic on Ubuntu..) if you are to lazy for the above mentioned task (and you are..).
Greets Dr. Cobra

Install NumPy for Python 3.5

I am using python 3.5 and I am trying to install NumPy but when I try to install from command prompt using command: pip install numpy
I get a whole lot of errors. The main error though seems to be at the end: error: Unable to find vcvarsall.bat
I have also tried downloading the numpy binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy and installing using command: pip install numpy-1.10.4+mkl-cp35-cp35m-win_amd64.whl
But I get an error that says: numpy-1.10.4+mkl-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
Then I found a numpy-1.10.2-win32-superpack-python3.4.exe file here https://sourceforge.net/projects/numpy/files/NumPy/1.10.2/ but when I try to run that I get an error that I require Python version 3.4.
I looked and cannot find an installer for python 3.5.exe, do I need to uninstall python 3.5 and install 3.4 instead? Or is there anyway to install numpy for Python 3.5?
I am using Windows 10/64 bit.
An easy way to obtain numpy, scipy, pandas, ... is to install anaconda.
Anaconda will automatically download and install the latest modules.
https://www.continuum.io/downloads
I hope this will help you along.

Resources