I am trying to import dash - python

I am trying to import dash library but when I do
pip install dash==0.26.5
I get the following message:
Could not find a version that satisfies the requirement Jinja2>=2.10 (from Flask>=0.12->dash) (from versions: 2.7.3, 2.8) No matching distribution found for Jinja2>=2.10 (from Flask>=0.12->dash)

First, you do not have to specify the version when installing a package via pip, it gets the latest automatically :
pip install dash
The error comes from the fact that you are using some outdated pip packages. And the latest version of dash, that is 0.26.5, is not compatible with some of them and creates conflicts when trying to install.
EDIT : as phd commented it, to upgrade neccessary packages at installation, use --upgrade:
pip install --upgrade dash

Related

Installing dabl Package

I am trying to install dabl package and it throws the following error:
pip install dabl
Collecting dabl
Could not find a version that satisfies the requirement dabl (from versions: )
No matching distribution found for dabl
Combined comments from James and hoefling.
There is no package called "dabl" on the PyPi index. That package is still under development on GitHub. You will need to clone the repo and install from the local source. Or install via
pip install git+https://github.com/amueller/dabl/

I am getting pip version upgrade message while installing pygmaps

I am getting this error while installing pygmaps package in pycharm.
Could not find a version that satisfies the requirement pygmaps (from versions: )
No matching distribution found for pygmaps
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
I have already upgraded pip version to 19.1.1, but still showing this error.
pip install git+https://github.com/thearn/pygmaps-extended can you try this one ?
if it doesnt work
https://code.google.com/archive/p/pygmaps/downloads go to this link and download it manually and add to your site-packages

pip won't install anything "could not find a version that satisfies the requirement..."

I am struggling installing anything with pip. Everything I try to install gives me this error:
Could not find a version that satisfies the requirement (package I am trying to install) (from versions: )
No matching distribution found for (package I am trying to install)
I have updated pip to the latest version.
Thanks for your help.
edit: Here is my pip and python versions:
click here for versions
It's part of the standard library, no need to install. Try python -c "import winsound".

pip install pygmaps python

I am trying to instal pygmaps for my Python 3.5:
pip install pygmaps
I am getting this message:
Could not find a version that satisfies the requirement pygmaps (from versions: ) No matching distribution found for pygmaps
You tried to install the old version of pygmaps. Here the newest https://github.com/thearn/pygmaps-extended
For installing from git use this command:
pip install git+https://github.com/thearn/pygmaps-extended
pip downloads from PyPI and there is nothing to download from https://pypi.python.org/pypi/pygmaps
Go to https://code.google.com/archive/p/pygmaps/downloads, download pygmaps-0.1.1.tar.gz, unpack it and install.

installing PyQt 5 on windows 7 with python 3.4

I wanna install PyQt5 on windows by pip but rise me this error:
pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.7.1-5.7.1-cp34.cp35.cp36.cp37-none-win32.whl
Collecting sip>=4.19 (from PyQt5)
Could not find a version that satisfies the requirement sip>=4.19 (from PyQt5)
(from versions: )
No matching distribution found for sip>=4.19 (from PyQt5)
and when i try to install sip via pip raise me this error:
Could not find a version that satisfies the requirement SIP (from versions: )
No matching distribution found for SIP
what can i do?
You can use pip to install SIP and then pyQt5.
pip install SIP
But in order to be able to do that you need python 3.5 and its better to use virtualenv to not mess with core installation/change version.
Then you can try installing PyQt5.
pip install pyqt5
Make sure you have the latest python installed (or at least v3.5)
Make sure your new python install is being used from your path instead of the old one (python --version)
pip3 install PyQt5 should then successfully install SIP and PyQt5 for you

Categories