PyPi lead to older version of my package instead of the latest - python

So I have currently uploaded this package: https://pypi.org/project/easy-predictor/0.6.5/ main problem is that when I searched for easy-predictor (which is the name of my package) on PyPi page it displays my older version which is 0.6.3 (https://pypi.org/project/easy-predictor/). Second problem is when I tried to install the latest version of my package (0.6.5) on Command Promt by using pip, it throws this error:
ERROR: Could not find a version that satisfies the requirement easy-predictor==0.6.5 (from versions: 0.0.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3)
ERROR: No matching distribution found for easy-predictor==0.6.5
I've aswell updated the pip version to the latest.
How do I resolve both errors? and what causes them?.

Can you check with:
pip install easy-predictor==
So without a version?
I get this:
ERROR: Could not find a version that satisfies the requirement easy-predictor== (from versions: 0.0.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.4, 0.6.5)
So 0.6.5 is available in the list.

Related

pip install nnsplit is not working, how to fix it?

nnsplit looks promising and I'd like to start using it on my PC, but I'm getting the following error when I run pip install nnsplit
ERROR: Could not find a version that satisfies the requirement nnsplit (from versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.2.2)
ERROR: No matching distribution found for nnsplit
I'm using windows 11 and I've tried to install it on Python 3.10.9 and Python 3.11 with no luck

How to use FBProphet within Databricks?

I have tried installing the FBProphet within a Databricks notebook in the following ways:
dbutils.library.installPyPI('FBProphet', version='0.5')
pip install fbprophet
The first line of code has the error:
Py4JJavaError: An error occurred while calling o1552.addIsolatedPyPILibrary.
: org.apache.spark.SparkException: Process List(/local_disk0/pythonVirtualEnvDirs/virtualEnv-d8a840a2-8b99-410b-a9c8-0b04a40153ab/bin/python, /local_disk0/pythonVirtualEnvDirs/virtualEnv-d8a840a2-8b99-410b-a9c8-0b04a40153ab/bin/pip, install, FBProphet==0.5, --disable-pip-version-check) exited with code 1. ERROR: Could not find a version that satisfies the requirement httpstan<4.7,>=4.6 (from pystan>=2.14->FBProphet==0.5) (from versions: 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.5, 0.7.6, 0.8.0, 0.10.1, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.1.0, 2.2.0, 2.3.0, 4.0.0, 4.1.0, 4.2.1, 4.3.0, 4.3.1, 4.3.2, 4.4.0, 4.4.1, 4.4.2)
ERROR: No matching distribution found for httpstan<4.7,>=4.6 (from pystan>=2.14->FBProphet==0.5)
And the second line has the error:
com.databricks.backend.daemon.driver.conda.NotebookEnvironmentException: Notebook environment commands (eg %pip) cannot be used in the same notebook as dbutils.library commands. Please ensure your notebook only uses one of these two types of commands, then detach and re-attach the notebook to run this command.
You shouldn't use the first one because from the error:
"dbutils.library APIs are deprecated and will be removed in a future
DBR release. You can use %pip commands to install notebook-scoped
python libraries."
And for the second one, according to the installations instructions on official documentation,
As of v1.0, the package name on PyPI is “prophet”; prior to v1.0 it
was “fbprophet”
So, you should use pip install prophet instead of pip install fbprophet

Getting error in Could not find a version that satisfies the requirement conda==4.8.4 while downloading package from requirement.txt?

I am trying to install all the required packages of the project from requirement.txt but I get lot of similar errors like I am using python 3.9.1
ERROR: Could not find a version that satisfies the requirement conda==4.8.4 (from versions: 3.0.6, 3.5.0, 3.7.0, 3.17.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.7, 4.0.8, 4.0.9, 4.1.2, 4.1.6, 4.2.6, 4.2.7, 4.3.13, 4.3.16)
ERROR: No matching distribution found for conda==4.8.4
also there are package name like
backports.functools-lru-cache # file:///tmp/build/80754af9/backports.functools_lru_cache_1605305165209/work
how to install these kind of packages ?

tensorfow addon problems while downloading rasa on my mac os

I tried downgrading python to 3.6 and upgraded pip yet no changes. This error shows up while downloading Rasa.
ERROR: Could not find a version that satisfies the requirement tensorflow-addons<=0.12,>=0.10 (from rasa) (from versions: none)
ERROR: No matching distribution found for tensorflow-addons<=0.12,>=0.10 (from rasa)
As the error suggests, you have to manually install the correct version of tensorflow-addons before installing rasa.
Try
pip install tensorflow-addons==0.11.2
and then install rasa again

Python correct version of pip. ERROR: Could not find a version that satisfies the requirement mkl-fft==1.2.0 (from versions: none)

[ERROR: Could not find a version that satisfies the requirement mkl-fft==1.2.0 (from versions: none)
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
ERROR: Could not find a version that satisfies the requirement mkl-fft==1.2.0 (from versions: none)
ERROR: No matching distribution found for mkl-fft==1.2.0]
Screen shot of the error
I can't figure out what's going wrong.
mkl-fft at PyPI doesn't have version 1.2.0. The latest version currently is 1.0.6. Perhaps you want to install from Github?
pip install 'git+https://github.com/IntelPython/mkl_fft.git#v1.2.0#egg=mkl_fft-1.2.0'

Categories