How to install libspatialindex to enable Rtree in windows? - osmnx

While installing libspatialindex using pip in Windows I am getting the below error
Command:
python -m pip install libspatialindex
Error:
ERROR: Could not find a version that satisfies the requirement libspatialindex (from versions: none)
ERROR: No matching distribution found for libspatialindex
Actually, I want to install osmnx which depends on Rtree and the Rtree depends on libspatialindex.
How can I solve this error? Anyone please help me. Thank you.

Related

Unable to install tensorflow-quantum using pip

Using the command pip install tensorflow-quantum gives the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow-quantum (from versions: none)
ERROR: No matching distribution found for tensorflow-quantum
Not sure why the versions is none. Also, not sure how to proceed. I can build from source but need help on this error.
tensorflow-quantum 0.7.2 provides wheels for Linux and MacOS, not for w32/w64. And no source code.
You can try to build from source.

How to solve "ERROR: No matching distribution found for tensorflow==1.12.0"

I am trying to install tensorflow 1.12.0. This is the command that I am using pip install tensorflow==1.12.0. I got this command from this link. This is the error that I am getting.
ERROR: Could not find a version that satisfies the requirement
tensorflow==1.12.0 (from versions: 2.5.0rc0, 2.5.0rc1, 2.5.0rc2,
2.5.0rc3, 2.5.0) ERROR: No matching distribution found for tensorflow==1.12.0
What am I doing wrong?
You can install previous versions of Tensorflow directly from the Github release page. For example, the 1.12.0 version can be downloaded from https://github.com/tensorflow/tensorflow/releases/tag/v1.12.0.
My python version was 3.9. Intalling python version 3.6 solved the problem. I installed it in virtual environment with conda.

How to downgrade tensorflow 2.0.1 to 0.9.0? in Mac OS

$ pip install tensorflow==0.9.0
ERROR: Could not find a version that satisfies the requirement tensorflow==0.9.0 (from versions: 2.0.1)
ERROR: No matching distribution found for tensorflow==0.9.0
I don't know the reason...
I would suggest you to create a virtual environment and then fresh install TF using pip install "tensorflow==0.9.0"

Error installing pandas with pip: Could not find a version that satisfies the requirement numpy==1.9.3

I'm trying to install pandas. When I run: pip install pandas in cmd, I get the following error message: Could not find a version that satisfies the requirement numpy==1.9.3. Not sure how to fix this.
It's likely you have a different version of numpy installed, try upgrade numpy first with:
pip install numpy==1.9.3 --upgrade
then run pip install pandas. Also check this github issue. Maybe your python version is not supported.

installing latest matplotlib version with pypi

In some way this question was already asked ... so accept my apology ...
I am trying to install the latest version of matplotlib from here:
http://pypi.python.org/pypi/matplotlib/1.0.1
I know I can download the sorce, untar and compile it, but I was to install it on many machines, and pip should be a bliss.
So, I did easy_install pip, and here the output I am getting with with both tools:
$ sudo easy_install "matplotlib==1.0.1"
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for matplotlib==1.0.1
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
No local packages or download links found for matplotlib==1.0.1
error: Could not find suitable distribution for Requirement.parse('matplotlib==1.0.1')
or with pip:
$ pip install matplotlib==1.0.1
Downloading/unpacking matplotlib==1.0.1
Could not find a version that satisfies the requirement matplotlib==1.0.1 (from versions: )
No distributions matching the version for matplotlib==1.0.1
Storing complete log in /home/oz/.pip/pip.log
Insights and suggestions will be mostly welcomed ...
Oz
pip install -f http://garr.dl.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.0.1/matplotlib-1.0.1.tar.gz matplotlib
from here:
Why does pip install matplotlib version 0.91.1 when PyPi shows version 1.0.0?
sorry ...