Getting the error "No matching distribution found for httpstan" - pip

When I try to install auto-ts package(pip install auto-ts) in Anaconda prompt, i am getting the following error message.
ERROR: Could not find a version that satisfies the requirement httpstan<4.5,>=4.4 (from pystan>=2.14->fbprophet->auto-ts) (from versions: 0.2.5, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.7.2, 0.7.3, 0.7.5, 0.7.6, 0.8.0, 0.9.0, 0.10.1, 1.0.0)
ERROR: No matching distribution found for httpstan<4.5,>=4.4 (from pystan>=2.14->fbprophet->auto-ts)
I have also tried with the following command and upgraded the pip but faced same problem.
Note: I also got No matching distribution error for the below commands. Anybody faced the same issue?
pip install fbprophet
pip install pystan==2.17.1.0

The problem arises from missing wheel formats in older versions of pip. A simple pip update should solve the issue.
pip install -U pip

Related

Trouble using PIP Install

Having trouble installing any packages or upgrading through PIP install. basically i want to install packages for Data Science. Not able to use CONDA either.
Error I got-
ERROR: Could not find a version that satisfies the requirement menuinst (from conda) (from versions: none)
ERROR: No matching distribution found for menuinst (from conda)
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Unable to install tensorflow==2.0.0beta1: wrapt conflict

I want to install tensorflow2.0.0 but I can't even install tensroflow1.14.0.
I am using macbook pro. I kept running into problems that some packets version are not compatible. I then tried to uninstall certain packets then reinstall them but it didn't work.
Error message:
ERROR: thinc 6.12.1 has requirement msgpack<0.6.0,>=0.5.6, but you'll have msgpack 0.6.1 which is incompatible.
ERROR: thinc 6.12.1 has requirement wrapt<1.11.0,>=1.10.0, but you'll have wrapt 1.11.2 which is incompatible.
Installing collected packages: wrapt, tensorflow
Found existing installation: wrapt 1.10.10
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Execute the below command:
pip install wrapt==1.10.0 --ignore-installed

Unable to install coremltools

I am trying to convert a pb file to a coreml file. to do this i need to install coremltools. However, when i try to install it by pip it comes up with this error :
ERROR: Could not find a version that satisfies the requirement coremltools (from versions: none)
ERROR: No matching distribution found for coremltools
i have tried to install it in a python 2.7 environment, still no joy
pip install coremltools
Collecting coremltools
ERROR: Could not find a version that satisfies the requirement coremltools (from versions: none)
ERROR: No matching distribution found for coremltools
Rorys-MBP:~ roryhodgson$
The only reason I could found out that explains why this is happening is that coremltools require python 2.7, make sure you are running it pip --version. If you just typed pip install coremltools the chances are that your machine (assuming it is running macOS) pip command is running the default version of macOS python which probably is 3.5.2 or greater.
I could fix this issue by creating an environment in which my python version was 2.7:
pip install virtualenv
Create a virtual environment:
virtualenv --python=/usr/bin/python2.7 py27
Activate it:
source py27/bin/activate
Lastly, install coremltools:
pip install -U coremltools
When you are done just deactivate the environment running deactivate in the terminal and that's it.
All this is available at the following source: satoshi.blogs.com
If you install from GitHub, then you will not need to install Python 2.7 or fiddle with virtual environments.
pip install "git+https://github.com/apple/coremltools"
The code above will let you install coremltools by cloning the Git repository.

Using pip to install iPython Notebook

Edit:
According to the pip website (https://pip.pypa.io/en/stable/installing), I should already have pip installed with my Python version 2.9.7, but I assumed that I don't because of the error message.
I then attempted to install pip by downloading get-pip.py. It was successful but I got the messages:
Found existing installation: pip 1.3.1
Uninstalling pip-1.3.1:
Successfully uninstalled pip-1.3.1
Successfully installed pip-8.1.1 wheel-0.29.0
So it seems I did have a version of pip, so I'm not sure why I was getting the error message described in my original post.
But when I tried to then pip install jupyter, I just get:
-bash: pip: command not found
again. Can someone tell me what I'm doing wrong please?
I need to install iPython Notebook. I already have Python (version 2.7.9) installed on my Macbook, running OS X (version 10.7.5).
After some initial investigation, I saw somebody say that I could just run:
pip install "ipython[notebook]"
When I did this however, I got:
-bash: pip: command not found
So do I have to install pip first? And then use pip to install the Notebook? I'm out of my depth and a little confused!
Okay so my problem was that pip was installed, but in a location that was not included in my $PATH variable.
One of the answers here is relevant.

Can't install mongoctl

I'm working on a 13" MacBook Pro running OS X 10.8.5. I'm trying to install mongoctl with the following command:
sudo pip install mongoctl
But I keep getting an error when downloading and unpacking argparse1.2.1. I've tried installing mongoctl with and without sudo but the result has been the same. Here's the error I'm getting:
Downloading/unpacking argparse==1.2.1 (from dargparse->mongoctl)
Could not find a version that satisfies the requirement argparse==1.2.1 (from dargparse- >mongoctl) (from versions: 0.1.0, 0.9.0, 0.8.0, 0.7.0, 0.6.0, 0.9.1, 0.5.0, 0.4.0, 0.2.0, 1.0, 1.0.1, 1.1, 0.3.0)
Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for argparse==1.2.1 (from dargparse->mongoctl)
I installed arparse1.1 manually but don't know how to use it for this installation. Any help is much appreciated.
-Mike
I ran into a similar issue on 10.7.5 OS X. Instead of the --allow-external, I tried --allow-all-external and it seems to have worked. Or if you did --allow-external, I think you need to include which of the packages to allow.

Resources