Python Forum
Pip install error for cx_Oracle
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pip install error for cx_Oracle
#1
Python3.3, running pip and pip3.3 both produce the same result. This build is under the E: drive. Here is the error:

Output:
>pip install cx_Oracle
Error:
Collecting cx_Oracle   Using cached cx_Oracle-5.2.1.tar.gz     Complete output from command python setup.py egg_info:     Traceback (most recent call last):       File "<string>", line 1, in <module>       File "c:\users\us250767\appdata\local\temp\18\pip-build-j8fs9l\cx-Oracle\setup.py", line 186, in <module>         raise DistutilsSetupError(message)     distutils.errors.DistutilsSetupError: cannot locate Oracle include files in E:\Oracle\instantclient_12_1         ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\users\us250767\appdata\local\temp\18 \pip-build-j8fs9l\cx-Oracle\<-[om '1' is not recognized as an internal or external command, operable program or batch file.
Reply
#2
https://bitbucket.org/anthony_tuininga/cx_oracle Wrote:Please note that an Oracle client (or server) installation is required in order to use cx_Oracle. If you do not require the tools that come with a full client installation, it is recommended to install the Instant Client which is far easier to install.

Your error, combined with this note on the module's page, seems to indicate that you don't have an oracle client installed. Most database layers are just thin wrappers around the actual client software, so without that installed, nothing would happen.
Reply
#3
Thanks for the information.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install error middlestudent 1 715 Sep-23-2023, 08:26 AM
Last Post: middlestudent
  cx_oracle Error - AttributeError: 'function' object has no attribute 'cursor' birajdarmm 1 2,216 Apr-15-2023, 05:17 PM
Last Post: deanhystad
  wxPython install error carlomscalisi 3 3,546 Jan-17-2023, 11:04 AM
Last Post: snippsat
  Error with pip install coffeeguy 1 2,211 Sep-08-2022, 01:27 AM
Last Post: snippsat
  kmeans install error (please help me) muratuzun 3 5,338 May-06-2022, 02:14 PM
Last Post: snippsat
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,492 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  Anaconda pip install mpyc Error pip-script.py is not present Anldra12 2 7,725 Dec-13-2021, 06:59 PM
Last Post: Anldra12
  Minecraft Python install error SomeAcandKid 1 2,311 Oct-06-2021, 06:22 PM
Last Post: Ronhamas
  Installed pip install openpyxl, Requirement already satisfied, but, still have error jonah88888 3 6,517 Sep-24-2021, 02:11 AM
Last Post: jonah88888
  error trying to install sslstrip NullAdmin 1 3,984 Mar-11-2021, 09:37 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020