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

Cant install pyminifier #136

Open
ghost opened this issue Jun 15, 2022 · 3 comments
Open

Cant install pyminifier #136

ghost opened this issue Jun 15, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 15, 2022

root@kali-linux:/tmp/pyminifier# python3 setup.py install

Traceback (most recent call last):
  File "/tmp/pyminifier/setup.py", line 2, in <module>
    import pyminifier
  File "/tmp/pyminifier/pyminifier/__init__.py", line 71, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
@ghost
Copy link
Author

ghost commented Jun 15, 2022

I cloned and ran python3 setup.py install

@ghost
Copy link
Author

ghost commented Jun 15, 2022

python3.9 setup.py install
error in pyminifier setup command: use_2to3 is invalid.

Python3.9 instead of Python3.10 gives this

@moimart1
Copy link

Not the best solution but this works for me with Python 3.10

pip install "setuptools<58.0.0"

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

1 participant