liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.43k stars 221 forks source link

Can't install Pyminifier #148

Open huko600rr opened 1 year ago

huko600rr commented 1 year ago
Collecting pyminifier
  Using cached pyminifier-2.1.tar.gz (47 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      Python 3.X support requires the 2to3 tool.
      It normally comes with Python 3.X but (apparenty) not on your distribution.
      Please find out what package you need to get 2to3and install it.
      [end of output]

I'm using Python 3.11.0

even have 2to3

PS C:\Users\Administrator\Desktop\Git-Pixel\> pip install 2to3 Requirement already satisfied: 2to3 in c:\users\administrator\appdata\local\programs\python\python311\lib\site-packages (1.0)

Also installed setuptools...

Please advise what's the issue is

Thomaz-Castro commented 12 months ago

I have the same problem

huko600rr commented 12 months ago

I think this project is abandoned...

zhuangyuanjoy commented 9 months ago

have the same problem

zhuangyuanjoy commented 9 months ago

pip install pyminifier3

eli-abramson commented 3 months ago

I have used the solution proposed by @moimart1 here: https://github.com/liftoff/pyminifier/issues/136#issuecomment-1437451136: pip install "setuptools<58.0.0" For me this has worked on Ubuntu 22.04 with Python 3.10

iCronic commented 1 month ago

I have used the solution proposed by @moimart1 here: #136 (comment): pip install "setuptools<58.0.0" For me this has worked on Ubuntu 22.04 with Python 3.10

worked for me too with Python 3.11.4. thank you very much!