use_2to3 is invalid (ibm_db)
See original GitHub issuesetuptools version
setuptools==58.0.4
Python version
Python 3.6
OS
Linux Centos 8
Additional environment information
No response
Description
Our build failed when using setuptools-58.0.4 and then to install ibm_db, it had worked with setuptools==57.5.0
pip3 install --upgrade setuptools PyYAML
=> Successfully installed PyYAML-5.4.1 setuptools-58.0.4
pip3 install --no-cache-dir ibm_db
Collecting ibm_db
Downloading https://files.pythonhosted.org/packages/dc/7c/26c1eb0ce78689a6a6775337b43f498f8e901790ec0bafd6f24e2ef594af/ibm_db-3.0.4.tar.gz (796kB)
Complete output from command python setup.py egg_info:
Detected 64-bit Python
Downloading https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz
error in ibm_db setup command: use_2to3 is invalid.
Expected behavior
setuptools-58.0.0+ need to support use_2to3
How to Reproduce
As mentioned in Description
Output
pip3 install --no-cache-dir ibm_db
Collecting ibm_db
Downloading https://files.pythonhosted.org/packages/dc/7c/26c1eb0ce78689a6a6775337b43f498f8e901790ec0bafd6f24e2ef594af/ibm_db-3.0.4.tar.gz (796kB)
Complete output from command python setup.py egg_info:
Detected 64-bit Python
Downloading https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz
error in ibm_db setup command: use_2to3 is invalid.
Code of Conduct
- I agree to follow the PSF Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top Results From Across the Web
error in ibm_db setup command: use_2to3 is invalid [duplicate]
The issue you ran into seems related to a problem with setuptools. See this issue in the GitHub repository for the ibm_db driver....
Read more >Error-handling functions in Python (ibm_db)
Sometimes errors happen when you attempt to connect to a database or issue an SQL statement. The user name or password might be...
Read more >setup.py · master · urz-django / python-ibmdb-django · GitLab
Open in Web IDE. Quickly and easily edit multiple files in your project. · Edit. Edit this file only.
Read more >Untitled
解决pip install报错:setup command: use_2to3 is invalid. Step 2: Change the current path of the directory in the command line to the path of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jaraco , would you advise how to fix here or input into this ibmdb git issue - https://github.com/ibmdb/python-ibmdb/issues/655? It seems that some persons are being blocked as “use_2to3 is invalid” error in their builds.
FYI - ibm_db has released a new version.