Meson-python: ошибка: не удалось найти ниндзя версии 1.8.2 или новее при установке pandasPython

Программы на Python
Ответить Пред. темаСлед. тема
Гость
 Meson-python: ошибка: не удалось найти ниндзя версии 1.8.2 или новее при установке pandas

Сообщение Гость »

Я развертываю свое приложение Django на общем хостинге через имя дешево. Я использую терминал оболочки cPanel. У меня есть некоторые зависимости от файла require.txt. Я устанавливаю его через сеанс терминала, но не могу установить numpy или pandas, появляется следующая ошибка. Проблема в том, что я уже установил версию ниндзя 1.11.1, а требуется версия 1.8.2 или новее, поэтому ниндзя по сути не обнаруживается. Я также понизил версию ниндзя и попробовал разные комбинации, но ничего не помогло. Любая помощь будет оценена.

Код: Выделить всё

((app:3.11)) [abc@server123 simply]$ pip install pandas
Collecting pandas
Using cached pandas-2.2.1.tar.gz (4.4 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
Collecting meson-python==0.13.1
Using cached meson_python-0.13.1-py3-none-any.whl.metadata (4.1 kB)
Collecting meson==1.2.1
Using cached meson-1.2.1-py3-none-any.whl.metadata (1.7 kB)
Collecting wheel
Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Collecting Cython==3.0.5
Using cached Cython-3.0.5-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting numpy1.22.4
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2 lines of output]

('\x1b[31m',)meson-python: error: Could not find ninja version 1.8.2 or newer.
[end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]

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

× pip subprocess to install build dependencies 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.

Я использую

Код: Выделить всё

python version 3.11.5
asgiref==3.7.2
Django==5.0.3
PyMySQL==1.1.0
sqlparse==0.4.4
tzdata==2024.1
ninjas==1.11.1
pandas
Я пытался загрузить его с помощью GitHub, клонировав репозиторий, но все равно это не сработало.

Подробнее здесь: https://stackoverflow.com/questions/782 ... -installin
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»