Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
992 stars 127 forks source link

[Python 3.10] Cannot Build #267

Open chaojian-zhang opened 1 year ago

chaojian-zhang commented 1 year ago

HI, thanks for the program - looks interesting, but I haven't been able to build itπŸ˜…

image

I tried both on Windows 10 and Ubuntu 20.04 using Python 3.10 and they all fail at pip install -r requirements.txt:

Collecting pypng==0.0.18 (from -r requirements.txt (line 4))
  Downloading pypng-0.0.18.tar.gz (377 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 377.9/377.9 kB 8.7 MB/s eta 0:00:00
  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
  ╰─> [1 lines of output]
      error in pypng setup command: use_2to3 is invalid.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

Γ— Getting requirements to build wheel did not run successfully.
β”‚ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: There was an error checking the latest version of pip.

Any insights?

To replicate the issue, one can quickly start an instance in Github Codespace, then execute: pip install -r requirements-dev.txt.

psi29a commented 1 year ago

I have a WIp branch that gets us up to 3.11, however there are some pretty invasive changes and some tests that need updating.

Meerkov commented 11 months ago

I'm lost too