I am new to cygwin and python and trying to install scipy on Cygwin with the following command:
pip install SciPy-1.8.1-cp38-cp38-win_amd64.whl
But it says ERROR: SciPy-1.8.1-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
I saw various posts and they say that we need numpy+mkl for installing scipy so I tried to install
numpy-1.22.4+vanilla-cp38-cp38-win_amd64.whl but it also says that this particular wheel is not supported.
My Python is 64 bits and the version is 3.8.12.
I am very confused and have the following questions:
I tried to find the version of the tags that my pip supports using import pip; print(pip.pep425tags.get_supported()) but it gave me AttributeError: module 'pip' has no attribute 'pep425tags'. I tried to update pip but in vain. How to find out the supported versions?
What is the exact procedure to install scipy?
Many answers on the internet use files like scipy-0.15.1-cp33-none-win_amd64.whl but I am not able to find any file with "none" in it. The files that I find are like 'SciPy‑1.8.1‑cp38‑cp38‑win_amd64.whl' in format. Can you please help me to find it out?
I have installed cpython using pip install cPython command. Do I really need it?
Please help me if you can.
Thanks!
just rename the package to the following:
SciPy-1.8.1-cp38-none-any.whl
then install with:
python -m pip install SciPy-1.8.1-cp38-none-any.whl
Related
others have asked this question but the answers are either too hard for me to understand or dont help.
i tried using many variations of python3 and python, pip3 and pip, sudo etc. they all said the package was already present. pip list command shows that numpy v1.23.1 is installed.
I tried uninstalling and reinstalling but that didn't work either.
for context I'm tryna install numpy, python version:3.10.5
It might be that your Python and your pip module do not belong to the same environment/installation.
To make sure you install a module under the Python installation you want to use, run this at a command prompt:
python -m pip install numpy
I am getting the attached error when trying to pip install statsmodels using Python 3.6.3. Please see link for error.
screenshot
I saw a previous similar question was answered and the solution was simply
pip install numpy
pip install scipy
then finally pip install statsmodels
Unable to install Statsmodels...python
I already have numpy and scipy successfully installed. Any other recommendations?
Thank you!
I had a same problem it got solved.Since python 3.6 may not support some dependencies and its in research phase i recommend you to use python 2.7.11 and try pip install statsmodels
There might be some error regarding visual c++ please download it to clear the process....(I had error saying visual c++ 14.0 python 2.7)
I've tried upgrading pip install (it was already done), poked around in various pip and wheel related python files, but all that happens when i run the following command into my command prompt (cmd.exe)
pip install pip install numpy-1.13.3+mkl-cp36-cp36m-win_amd64.whl
This is the error I have
Requirement 'numpy-1.13.3+mkl-cp36-cp36m-win_amd64.whl' looks like a filename, but the file does not exist. numpy-1.13.3+mkl-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
My system is, as far as I know, a 64 bit windows system
just pip install numpy will take care of downloading and installing necessary module versions. You dont need to mention module version
I found my solution, which was to install numpy
pip install numpy
I'm trying to start with OpenCV with python. I have experience c# and I have knowledge of c++. However, I feel more comfortable with python instead of c++. I installed OpenCV then python 3.4 in visual studio 2015. At the beginning I've received an error numpy, "Module couldn't be found", thankfully, I resolved it. The I got another error cv2 "Module couldn't be found" I asked an question yesterday, but I think the question has been left away. Anyways, I'm not complaining, but I still need some help please to stat with OpenCV in python.
Installing python 3.4 Successful
Installing numpy Successful
installing matpilotlib Failed
installing cv2 Failed
can anybody help me please thanks a lot.
It's very common to install Python packages through pip today (recursive acronym for pip installs packages). However, this is not that trivial under Windows.
How to install matplotlib:
Try to open a commandline and type in pip install matplotlib. If this does not work, you'll need to do some more work to get pip running. I gave a detailed answere here: Not sure how to fix this Cmd command error?.
How to install OpenCV:
The Python OpenCV DLL must be made for your version of Python and your system architecture (or, to be more specific, the architecture your Python was compiled for).
Download OpenCV for your Python version (2/3)
Try replacing the x64 version with the x86 version
There are a lot of different binaries here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv. Try to get the one exactly matching your Python version and System architecture and install it via pip (cp35 means CPython version 3.5 ect.).
If you have the OpenCV .whl file matching your system configuration, do pip install file.whl.
Hope this helps!
You can install matplotlib using pip (which is already installed on your machine - mentioned in your previous quesiton):
pip install matplotlib
more info:
http://matplotlib.org/faq/installing_faq.html
You may be better off using an package such as pythonxy as a start, e.g. from https://python-xy.github.io/ , instead of installing each single package manually.
I am trying to install PyFFTW a pythonic wrapper for FFTW. When I do so I get the following error.
ImportError:
/usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so :
undefined symbol : PyUnicodeUCS2_FromUnicode
Vaarious websites suggest that when this problem occurs to either install python with the correct PyUnicode or to install the python package with the correct PyUnicode. I have no idea how to do either of these. Can someone please provide me with a step-by-step guide on how to do this?
I am installing the PyFFTW package using sudo pip install pyfftw on a RaspberryPi.
Thanks,
E.Lee