Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cx_Oracle 6.1 cp36 manylinux wheel not supported on Amazon Linux? #125

Closed
ddallen16 opened this issue Dec 14, 2017 · 8 comments
Closed

cx_Oracle 6.1 cp36 manylinux wheel not supported on Amazon Linux? #125

ddallen16 opened this issue Dec 14, 2017 · 8 comments

Comments

@ddallen16
Copy link

Is cx_Orace 6.1 cp36 supported for pip installation on Amazon Linux? Trying to pip install the wheel file generates a not supported error.

For general questions:

Describe exactly what you did and what you want to happen.
Use the questions at the bottom of this template as a guide.

Use Markdown syntax, particularly for code blocks: see https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code

For security issues:

See https://www.oracle.com/support/assurance/vulnerability-remediation/reporting-security-vulnerabilities.html for how to report security issues.

For installation issues:

Use a gist for screen output and logs: see https://gist.github.com/
Do not paste long output into this issue

Review the install instructions at
https://github.com/oracle/python-cx_Oracle#installation

Review your output and logs. Google any errors

Answer the following questions:

  1. What is your version of Python? Is it 32-bit or 64-bit?

Python 3.6.2 (default, Nov 2 2017, 19:34:31)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux

  1. What is your version of cx_Oracle?
    attempting to install cx_Oracle-6.1-cp36-36m-manylinux1_x86_64.whl

  2. What is your version of the Oracle client (e.g. Instant Client)? How was it
    installed? Where is it installed?

11.2g

  1. What is your version of the Oracle Database?
    11.2g

  2. What is your OS and version?
    Amazon Linux (2017-09 AMI) Linux 4.9.62-21.56.amzn1.x86_64

  3. What compiler version did you use? For example, with GCC, run
    gcc --version.
    NA

  4. What environment variables did you set? How exactly did you set them?
    NA

  5. What exact command caused the problem (e.g. what command did you try to
    install with)? Who were you logged in as?

pip install cx_Oracle-6.1-cp36-36m-manylinux1_x86_64.whl

  1. What error(s) you are seeing?

cx_Oracle-6.1-cp36-36m-manylinux1_x86_64.whl is not a supported wheel on this platform.

@anthony-tuininga
Copy link
Member

anthony-tuininga commented Dec 14, 2017

Can you show the output from sys.maxsize? Are you sure you are running 64-bit Python?

@ddallen16
Copy link
Author

Is this what you were looking for? The output is 2**63-1, which per the Python docs indicates a 64 bit platform / implementation.

Python 3.6.2 (default, Nov 2 2017, 19:34:31)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import sys
sys.maxsize
9223372036854775807

@ddallen16
Copy link
Author

And for what it's worth, this is the python 3.6 "yum install"'d from the Amazon Linux AMI repository.

@anthony-tuininga
Copy link
Member

Yes, that is what I was looking for. I'm not sure why it is claiming that it is not a supported wheel. Can you build from source instead?

@ddallen16
Copy link
Author

I'll give it a try... was hoping to avoid that ....

@anthony-tuininga
Copy link
Member

You can try this: pypa/pip#3969

@anthony-tuininga
Copy link
Member

Did my suggestion help? The documentation suggests that this may not be a "solvable" problem and that a hack like the one I suggested is necessary -- or you would need to build from source.

@anthony-tuininga
Copy link
Member

Closing due to lack of activity. Please feel free to re-open if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants