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

error in suds-jurko setup command: use_2to3 is invalid #6

Closed
nineleaps-vijay opened this issue Sep 6, 2021 · 10 comments
Closed

error in suds-jurko setup command: use_2to3 is invalid #6

nineleaps-vijay opened this issue Sep 6, 2021 · 10 comments

Comments

@nineleaps-vijay
Copy link

nineleaps-vijay commented Sep 6, 2021

Hi, I am facing this issue while trying to install suds-jurko.
My python version is 3.7.3 and pip version is 20.0.1
ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-aq1d_1x5/suds-jurko_99c7f674655c40cb8b6582552bf426e5/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aq1d_1x5/suds-jurko_99c7f674655c40cb8b6582552bf426e5/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-507p176x cwd: /tmp/pip-install-aq1d_1x5/suds-jurko_99c7f674655c40cb8b6582552bf426e5/ Complete output (1 lines): error in suds-jurko setup command: use_2to3 is invalid.

@danjsiegel1
Copy link

+1 for the same issue.

@nickyfoto
Copy link

https://github.com/pypa/setuptools/blob/main/CHANGES.rst

@aguthrie1190
Copy link

You can pin setuptools to 58.0.0 for a quick fix:
pip install 'setuptools==58.0.0'

@nineleaps-vijay
Copy link
Author

Yes, that worked, Thanks

@lassepe
Copy link

lassepe commented Sep 22, 2021

I' not sure this issue should be closed. It's still not fixed. Pinning setuptools is kind of a hacky workaround.

@mikealquimia
Copy link

You can pin setuptools to 58.0.0 for a quick fix: pip install 'setuptools==58.0.0'

thanks! this worked for me

@AvnerCohen
Copy link

AvnerCohen commented Apr 25, 2023

Forcing an old setuptools is far from a perfect solution here, It's an over 2 years old, pip, together with setuptools is moving forward.

I would suggest to open this and fix the core issue..

As in - #8

AvnerCohen added a commit to AvnerCohen/suds-jurko that referenced this issue Apr 25, 2023
@casualuser
Copy link

any news here??
proper fix is really required nowadays but #8 is still opened

@AffanAhmedUsmani
Copy link

due to this many libraries with lates version cant be used as they werent there with this setup tool version was so suds jurko should solve this issue what ever it is as it's like very exhausting

@olivarius1
Copy link

You can pin setuptools to 58.0.0 for a quick fix: pip install 'setuptools==58.0.0'

I also encountered this problem. Using setuptools==58.0.0 did not work, but setuptools==57.5.0 did.

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

No branches or pull requests

10 participants