Python polytools: Could not find a version that satisfies the requirement - python

I am trying to install symfit on my Windows machine, running Python 2.7.
It complains that it does not have polytools, so I type pip install polytools in the command line.
This gives the following error message:
Could not find a versin that satisfies the requirement polytools (from versions: ) No matching distribution found for polytools
What does it mean and how can I solve it?

Polytools module is in sympy and sympy is a dependency of symfit. It seems symfit doesn't properly declared dependencies. To install its dependencies clone the repository:
git clone https://github.com/tBuLi/symfit.git
and run
pip install -U -r requirements.txt
Report the bug at the symfit issue tracker.

Related

ERROR: Could not find a version that satisfies the requirement rest-framework (unavailable) (from versions: none)

I'm a beginner and I'm getting this error, can someone with more experience help me?
ERROR: Could not find a version that satisfies the requirement
rest-framework (unavailable) (from versions: none)
ERROR: No matching distribution found for rest-framework
(unavailable)
ERROR: Service 'web' failed to build : Build failed
I've tried using the commands below but it didn't solve the problem.
pip install djangorestframework-jsonapi
pip3 install djangorestframework-jsonapi
pip install -r requirements.txt --proxy address:port
python -m pip install --upgrade pip
python3 --version
Python 3.10.6
print(django.get_version())
3.2.12
pip show djangorestframework
Name: djangorestframework / Version: 3.14.0
cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
Your error messages says
ERROR: Could not find a version that satisfies the requirement rest-framework (unavailable) (from versions: none)
which means that your requirements.txt file is listing rest-framework as a requirement. However, there is no such module listed on PyPI. Did you mean to use python-rest-framework instead, or some other django-specific package?
Fix your requirements.txt file to make sure it correctly lists your dependencies, and things should work. To make sure you have the correct package name, it should exist on https://pypi.org. https://pypi.org/search/?q=rest-framework lists a number of possibilities you might have meant to use.
PS: pip install djangorestframework-jsonapi already installed module rest_framework for me, so maybe the correct replacement for rest-framework in your requirements.txt is simply pip install djangorestframework-jsonapi.
See also: https://django-rest-framework-json-api.readthedocs.io/en/stable/getting-started.html#installation

Error in installing python package Flair, about a dependent package not hosted in PyPI

I am trying to install flair. It is throwing below error when executing below command:
pip install flair
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core# https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz
I thought installing this package explicitly might fix the error but it doesn't. The error remains same.
The installed version of SudachiDict-core is below:
SudachiDict-core 0.0.0
Below is the Environment:
OS: Windows 10
Python: 3.6 (64 bit)
Any hint is appreciated. Thank you!
Note:
First hurdle when installing flair was torch package. It was resolved simply when torch package is installed. The error looked like below:
ERROR: Could not find a version that satisfies the requirement torch>=1.1.0 (from flair) (from verERROR: No matching distribution found for torch>=1.1.0 (from flair)
You can try
pip install --upgrade git+https://github.com/zalandoresearch/flair.git
Source: https://github.com/flairNLP/flair/issues/1327#issuecomment-571639994
Or
to install separately:
pip install tiny-tokenizer
After this run:
pip install flair
It is strange running below command solved the problem.
pip install flair==0.4.3
I assume that the problem is in a latest version 0.4.4 (and its dependencies).
Note: I had torch==1.1.0 package already installed.

I cannot install torch with pip3 but I can with pip

So following the guide on pytorchs homepage I should be able to install pytorch by running:
pip3 install torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html
If I do so, I get the error message
Could not find a version that satisfies the requirement torch===1.3.1 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch===1.3.1
If I install using pip (and not pip3) it works, but I cannot import torch afterwards - it seems like pip3 is handling my packages.
OS: Windows 10
IDE: VScode
It turned out, that I was using a 32-bit version (eventhough python told me it was a 64 bit). Installing the 64-bit solved the issue

Can't install curses package in pycharm [ Could not find a version that satisfies the requirement curses-win(from versions: none)]

when i try to install curses-win package i head ERROR
ERROR: Could not find a version that satisfies the requirement curses-win (from versions: none)
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter
command output:
ERROR: Could not find a version that satisfies the requirement curses-win (from versions: none)
ERROR: No matching distribution found for curses-win
i've installed numpy and tensorflow clearly
I faced with this problem when I tried to install cantools using pip on Ubuntu 16.04 LTS. I solved this issue by installing the pytest-runner package previously:
$ pip install pytest-runner --user

Could not find a version that satisfies the requirement SoundRecognition

I want to install SoundRecongnition package but I'm getting the following error when I type: pip3 install SoundRecognition
"Could not find a version that satisfies the requirement SoundRecognition (from versions: )
No matching distribution found for SoundRecognition"
I tried upgrading the pip. Also tried using the --user tag but still facing the problem.
I'm using pip 19.0.3 version, python 3.7.0 version, and Pycharm as IDE.
ERROR: Could not find a version that satisfies the requirement speech_recognition (from versions: none)
ERROR: No matching distribution found for speech_recognition
just use
pip install SpeechRecognition
pip install SpeechRecognition
you just try above SpeechRecognition...i think sound recognition module not there in pip
There is no SoundRecongnition at PyPI (it is where from pip installs packages). What package do you mean? I cannot find it on the Net.
Do you mean SpeechRecognition?
pip install SpeechRecognition

Categories

Resources