When I try and run in cmd.exe:
pip install cx_oracle
I get: Could not find a version that satisfies the requirement...
How can I fix this. I would like to install cx_oracle==5.1.2 via pip.
When I try and run in cmd.exe:
pip install cx_oracle
I get: Could not find a version that satisfies the requirement...
How can I fix this. I would like to install cx_oracle==5.1.2 via pip.
If you are getting a pip version error while installing cx_Oracle like:
You are using pip version 7.1.2, however version 10.0.1 is available.
Try installing newer pip version by typing in command prompt:
python -m pip install --upgrade pip==10.0.1
And then install cx_Oracle by typing in command prompt:
python -m pip install cx_Oracle
This will most probably solve your problem :)
Try these: If you have .whl file for version you want, then
pip install <file-for-cx_oracle-5.1.2.whl>
Pay attention to the Upper/Lower case
or _
or -
in the module name, i.e.
python -m pip install cx_Oracle
or
python -m pip install cx-oracle==5.1.2
If nothing works! then try the following:
Download the source tar zip file from here: https://sourceforge.net/projects/cx-oracle/files/5.1.2/cx_Oracle-5.1.2.tar.gz/download then,
untar it (tar -xvzpf <tarFileName.tar.gz
) and go inside the folder which contains setup.py
file and run:
python setup.py build; python setup.py install
Read this for more info: http://cx-oracle.readthedocs.io/en/latest/installation.html#installing-cx-oracle-5-3
There are no downloadable files at PyPI for version 5.1.2. The minimal downloadable package version is 5.1.3. See https://pypi.org/simple/cx-oracle/. Try
pip install cx_oracle==5.1.3