No matching distribution found <package> - python

I'm trying to install this package but I'm getting the erorr in the title along with "Could not find a version that satisfies the requirement vtk (from versions: none)". Does anyone know why it won't work when it's available on PyPI?
Edit: Found out it's because I'm on the latest Python version. A commenter kindly provided an unofficial build but I'm unsure of the process in installing it. I used the link pip install --find-links wheels.pyvista.org pyvista and it seems to have installed one package called appdirs but no vtk package. If I follow the link there's build instructions but it says for Ubuntu/Linux so not sure which one I should follow on Windows.. Also, I'd like to check if wheels for Python 3.10 are forward compatible with 3.11 since I'm on the latest version

Related

Why is the curses module not installing via pip?

I have been trying to install the curses module using the command "pip install windows-curses" but it does not seem to be working and it errors out saying:
ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses
[Edit: I am using python 3.10]
I installed the requests package after that using pip but that seems to install perfectly. So, pip is working correctly, just not the curses module. Is it a problem on my end or is this package actually not available?
Currently the latest version of windows-curses is 2.2.0 and it provides wheels for Python 3.6-3.8 and no source code.
Most probably you use Python 3.9 or 3.10 (you should have indicated in the question). To use windows-curses you need to downgrade. You can also download wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

"Could not find a version that satisfies the requirement" installing component with Pip despite an appropriate version available

I am trying to install a package over pip and I get this error with one of the dependences, what can I do to solve it?
ERROR: Could not find a version that satisfies the requirement rusty-rlp<0.2,>=0.1.15 (from rlp<=2.0.0.alpha-1,>=1.0.0->eth-account<0.6.0,>=0.5.3->web3<6.0.0,>=5.12.0->uniswap-python) (from versions: none)
ERROR: No matching distribution found for rusty-rlp<0.2,>=0.1.15 (from rlp<=2.0.0.alpha-1,>=1.0.0->eth-account<0.6.0,>=0.5.3->web3<6.0.0,>=5.12.0->uniswap-python)
Thanks
Run pip with -v to see what options Pip is considering and why it rejects them.
Looking at the list of rusty-rlp's releases, 0.1.15 (as of this writing) is the only version satisfying your criteria.
Looking at the list of its files available for download, it has no source package to download -- which means, you can only install it for Python versions and architectures that there are prebuilt wheels available for. They are available for Python 3.5-3.8 x64, for Windows, Linux and MacOS. I guess your Python installation is not in this list.

How to install pyramid-arima in python 3.7

I'm trying to implement auto arima in my python 3.7 on Windows10 So I tried to install pyramid-armia using following command
pip install pyramid-arima
But I'm getting error message
Could not find a version that satisfies the requirement pyramid-arima (from versions: )]
No matching distribution found for pyramid-arima
I also tried steps mentioned here
But got the same error message
Can you please guide me to install it?
This error might be because there is no version of package that fits combination of versions of your Python, Operating System, Cpu Type and Instruction Set.
That package is out-dated and abandoned, hence not installable, use new replacement, which is pmdarima package:
pip install pmdarima
and import like:
import pmdarima
Official documentation for pmdarima is here.
If still you're getting same error for new pmdarima then download .whl package directly from here.
You need to download package corresponding to your python version and windows bits. E.g. if you have Python 3.7 and Windows 64-bit then download pmdarima-1.7.1-cp37-cp37m-win_amd64.whl (or with win32 suffix for 32-bit windows), here cp37 means CPython version 3.7.
Then just install it like this:
pip install pmdarima-1.7.1-cp37-cp37m-win_amd64.whl
Also many trouble-some Windows prebuild .whl packages that have problems with installation/compilation are located here. I've often downloaded this prebuilt packages from there, when haven't succeeded with pip install. But for the case of pmdarima it is located at the first link but not second.

'requirement tdd' issue when installing 'micom' PyPI on the PyCharm enviroment

I tried to install a PyPI named micom in the PyCharm environment.
But, when I wrote code on the python terminal as
pip install micom
The following error is showing:
ERROR: Could not find a version that satisfies the requirement tbb (from versions: none)
ERROR: No matching distribution found for tbb
My pip version is the latest (v20.1.1)
I thought there is some problem in umap-learn or tdd, so I tried to install both through project interpreter + at the PyCharm, but it didn't work with same error ;
ERROR: Could not find a version that satisfies the requirement tbb (from versions: none)
ERROR: No matching distribution found for tbb
I have done Googling, but it is not easy to find troubleshooting about this tdd issue.
Can you give me any advice on this issue?
One of the dependencies of micom is umap-learn>=0.4.1. The latter relies on tbb. Somehow, when trying to install umap-learn, the installation fails on installing tbb. That seems to be a known issue. I suggest to follow the advice of an answer posted there:
This has been an intermittent problem that I have had difficulty
tracking down. In the worst case you can grab the latest version off
github and, prior to installing, just remove tbb from the requirements
(including in setup.py). That should resolve the problem and it will
likely work without tbb for the most part.
That would entail cloning the latest version of umap-learn from GitHub and removing the tbb requirement from requirements.txt and setup.py. You can then try to install umap-learn by running pip install . in the root of the cloned GitHub repository.

pypy not installing opencv

I want to use pypy to gain speed for a project I am doing and I need to use opencv and numpy but when trying to install opencv from pycharm interpreter settings I get the following error:
Collecting opencv-python
DEPRECATION: A future version of pip will drop support for Python 2.7.
ERROR: Could not find a version that satisfies the requirement
opencv-python (from versions: none) ERROR: No matching distribution
found for opencv-python
how to install opencv to use with pypy?
Since it is difficult to build OpenCV, they only upload binary wheels to PyPI (where pip goes to get packages). If you really want to use OpenCV on PyPy, you will have to compile from a github checkout of https://github.com/skvark/opencv-python. If you make any progress on this, please let the maintainer of that repo know, the best would be via a PR that explains how to successfully build. Then they could upload the binary packages to PyPI for PyPY.
to install opencv you need to execute this command:
pip install opencv-python
ps : Use this commnad even if you want to use cv2
Hope I've helped you.

Categories

Resources