@Jonn12

Как решить проблему с установкой pip json macos m1 pro?

Ошибка при установке

Collecting jsonlib
  Using cached jsonlib-1.6.1.tar.gz (43 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: jsonlib
  Building wheel for jsonlib (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [442 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-universal2-cpython-310
      copying jsonlib.py -> build/lib.macosx-10.9-universal2-cpython-310
      running build_ext
      building '_jsonlib' extension
      creating build/temp.macosx-10.9-universal2-cpython-310
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c _jsonlib.c -o build/temp.macosx-10.9-universal2-cpython-310/_jsonlib.o
      _jsonlib.c:98:17: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]


38 warnings and 14 errors generated.
      error: command '/usr/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: legacy-install-failure

× Encountered error while trying to install package.
╰─> jsonlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.


Прошерстил интернет, но решение не нашел.
  • Вопрос задан
  • 150 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы
22 нояб. 2024, в 03:54
1500 руб./за проект
22 нояб. 2024, в 02:56
10000 руб./за проект
22 нояб. 2024, в 00:55
500 руб./за проект