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

Unable to install or upgrade to [email protected] #944

Closed
exploitJ opened this issue Oct 16, 2023 · 3 comments
Closed

Unable to install or upgrade to [email protected] #944

exploitJ opened this issue Oct 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@exploitJ
Copy link

exploitJ commented Oct 16, 2023

Describe the bug
when I try to install python 3.12 following error appears.

.
.
.
      20 warnings and 8 errors generated.
      error: command '/opt/homebrew/opt/llvm/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects

[notice] A new release of pip is available: 23.2.1 -> 23.3
rtx [email protected] [ERROR] /Users/koi/.local/share/rtx/installs/python/3.12.0/bin/python exited with non-zero status: exit code 1
rtx failed to install [email protected]
rtx Run with RTX_DEBUG=1 for more information

To Reproduce
run rtx install [email protected]

Expected behavior
install succeeds

rtx doctor output

rtx version:
  2023.10.2 macos-arm64 (2023-10-15)

build:
  Target: aarch64-apple-darwin
  Features: BREW, DEFAULT, NATIVE_TLS
  Built: Sun, 15 Oct 2023 23:47:27 +0000
  Rust Version: rustc 1.72.1 (d5c2e9c34 2023-09-13) (Homebrew)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-apple-darwin23.0)

rtx data directory:
  /Users/koi/.local/share/rtx

rtx environment variables:
  RTX_NODE_DEFAULT_PACKAGES_FILE=/Users/koi/.config/rtx/default-npm-packages
  RTX_PYTHON_DEFAULT_PACKAGES_FILE=/Users/koi/.config/rtx/default-python-packages
  RTX_RUBY_DEFAULT_PACKAGES_FILE=/Users/koi/.config/rtx/default-gems
  RTX_SHELL=zsh

settings:
  {"always_keep_download": "false", "always_keep_install": "false", "asdf_compat": "false", "disable_default_shorthands": "false", "disable_tools": "[]", "experimental": "true", "jobs": "4", "legacy_version_file": "true", "legacy_version_file_disable_tools": "[]", "log_level": "INFO", "missing_runtime_behavior": "warn", "plugin_autoupdate_last_check_duration": "10080", "raw": "false", "trusted_config_paths": "[]", "verbose": "false", "yes": "false"}

config files:
  /Users/koi/.config/rtx/config.toml

plugins:
  bun      (core)
  deno     (core)
  go       (core)
  gradle   https://github.com/rfrancis/asdf-gradle.git#6dcf009
  java     (core)
  node     (core)
  python   (core)
  ruby     (core)

toolset:
  node@system, java@system, python@latest, go@latest, ruby@latest

No problems found

Additional context
I've tried installing requirements of python-build with homebrew based on this document but had no luck.
python core package requirements

@exploitJ exploitJ added the bug Something isn't working label Oct 16, 2023
@exploitJ
Copy link
Author

possibly related to aio-libs/multidict#887

@jdx
Copy link
Owner

jdx commented Oct 18, 2023

RTX_PYTHON_DEFAULT_PACKAGES_FILE=/Users/koi/.config/rtx/default-python-packages

you probably have a default package that isn't installing correctly.

@exploitJ
Copy link
Author

you were right.
there was a compatibility issue with default packages.
closing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants