I am trying to install devstack train on ubuntu and get the following error:
ContextualVersionConflict: (glance-store 0.28.1
(/usr/local/lib/python2.7/dist-packages),
Requirement.parse('glance-store>=1.0.0'), set(['glance'])) You are
using pip version 9.0.3, however version 21.2.4 is available. You
should consider upgrading via the 'pip install --upgrade pip' command.
I did try upgrading pip using:
sudo apt-get install python-pip
sudo pip install --upgrade pip
But when I ran ./stack.sh again, I face the same issue.
Can you please let me know how can I resolve this issue?
I think the really true error reason is: Requirement.parse('glance-store>=1.0.0'),
Try this:
sudo pip install glance-store==1.0.0
the version 1.0.0 should replace by what you need.
Related
WARNING: There was an error checking the latest version of pip
Ignoring invalid distribution -ip
You need to manually update pip with:
python -m pip install --upgrade pip
As per discussion on the issues page on Github
This issue should now be fixed in future versions of pip
Pull request on Github
This worked for me:
python -m pip install --upgrade pip
have you tried:
python -m pip install --upgrade pip
or
pip install --upgrade pip
Good luck
It's Just a Warning for upgrading the pip you can do it with any of these commands
python -m pip install --upgrade pip
or
pip install --upgrade pip
Cheers Mate
in case the above solution does not fix your issues. Disconnect your VPN, then try again.
I've been trying to install the gym library via pip install gym
I get the following error
WARNING: Discarding https://files.pythonhosted.org/packages/87/86/3f5467531428b6ce6f3c12d3121b4304d2ea1536a50775a4df036add37b8/gym-0.23.1.tar.gz#sha256=d0f9b9da34edbdace421c9442fc9205d03b8d15d0fb451053c766cde706d40e0 (from https://pypi.org/simple/gym/) (requires-python:>=3.7). Requested gym==0.23.1 from https://files.pythonhosted.org/packages/87/86/3f5467531428b6ce6f3c12d3121b4304d2ea1536a50775a4df036add37b8/gym-0.23.1.tar.gz#sha256=d0f9b9da34edbdace421c9442fc9205d03b8d15d0fb451053c766cde706d40e0 has inconsistent version: filename has '0.23.1', but metadata has '0.23.1'
ERROR: Could not find a version that satisfies the requirement gym==0.23.1
ERROR: No matching distribution found for gym==0.23.1
pip then defaults to trying to install previous versions 0.23.0, 0.22.0 and so on.
I get the following warning for all versions and none installs.
request gym from <link> has inconsistent version: filename has '0.9.0', but metadata has '0.9.0'
After some Googling for similar errors, I tried updating pip python3 -m pip install --upgrade pip setuptools wheel
but I get the same problem with version mismatch, and it tries to install old versions of pip and fails.
I'm on Python 3.10.4 and pip 21.0 under Arch Linux.
edit: The same problem happens to any package I try to install with pip.
I found a solution here.
The problem seems to be caused by the python-pip package under Arch Linux.
One possible way to fix it:
sudo pacman -Rncs python-pip
python -m ensurepip
If you cannot figure out pip use git
git clone https://github.com/openai/gym
cd gym
pip install -e .
Try to install with an upgrade option to install the latest without cache since looks that the latest version is stable:
pip install gym -U --no-cache-dir
-U, --upgrade Upgrade all packages to the newest available version
--no-cache-dir Disable the cache
If this won't help you can try to install using legacy version resolver (as per https://github.com/pypa/pip/issues/9203):
pip install gym -U --no-cache-dir --use-deprecated=legacy-resolver
Guys, Help we with this, I installed trax with pip install trax, but it showing error, after restarting the kernel also Getting this error.
Try running these commands.
pip install --upgrade pip
pip install --upgrade "jax[cpu]"
pip install trax
I have pip3 installed from when I installed Python3 through Homebrew. But now when I use pip3 to install things, I get the following message:
You are using pip version 10.0.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
But when I use pip install --upgrade pip, I get the following message:
-bash: pip: command not found
I'm not sure what the precise terminology is, but should I be "linking" the pip command to pip3?
Upgrade pip3 as follows to avoid the confusion between pip and pip3:
python3 -m pip install --upgrade pip
I installed pip3 and upgraded it. When trying to install tensorflow, I get the following:
daniel#popeax:~$ sudo -H pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl is not a supported wheel on this platform.
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
This question is identical to the one I had answered on Ask Ubuntu at https://askubuntu.com/q/778698/15003:
For now, according to https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-216186066, the solution is to download and rename the wheel and install using the renamed wheel:
wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl
mv tensorflow-0.8.0-cp34-cp34m-linux_x86_64.whl tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl
sudo -H pip3 install tensorflow-0.8.0-cp35-cp35m-linux_x86_64.whl
If you are willing to wait a bit, the wheel for Python 3.5 should be out soon according to https://github.com/tensorflow/tensorflow/issues/2188#issuecomment-220363241.