ofek / pyapp

Runtime installer for Python applications
https://ofek.dev/pyapp/
1.18k stars 27 forks source link

panic on mingw64 #70

Closed T-256 closed 7 months ago

T-256 commented 8 months ago
   Compiling pyapp v0.13.0
error: failed to run custom build command for `pyapp v0.13.0`

Caused by:
  process didn't exit successfully: `C:\WINDOWS\TEMP\cargo-installsnqYmf\release\build\pyapp-73fe803f2bd031c2\build-script-build` (exit code: 101)
  --- stdout
  cargo:rustc-env=PYAPP_PROJECT_NAME=cowsay
  cargo:rustc-env=PYAPP_PROJECT_VERSION=6.0
  cargo:rustc-env=PYAPP_PROJECT_DEPENDENCY_FILE=
  cargo:rustc-env=PYAPP__PROJECT_DEPENDENCY_FILE_NAME=
  cargo:rustc-env=PYAPP__PROJECT_EMBED_FILE_NAME=

  --- stderr
  thread 'main' panicked at C:\Users\User\.cargo\registry\src\index.crates.io-6f17d22bba15001f\pyapp-0.13.0\build.rs:353:5:

  No default distribution source found
  Python version: 3.11
  Platform: windows
  Architecture: x86_64
  ABI: gnu
  Variant: shared

I think wrong ABI selected.

ofek commented 8 months ago

Which Python should be selected?

T-256 commented 8 months ago

Also see https://github.com/indygreg/python-build-standalone/issues/14