В TA-Lib Cython.Compiler.Errors.InternalError: внутренняя ошибка компилятора: «_common.pxi» не найдена.Python

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 В TA-Lib Cython.Compiler.Errors.InternalError: внутренняя ошибка компилятора: «_common.pxi» не найдена.

Сообщение Anonymous »

При запуске программы на pycharm я получаю сообщение об ошибке ниже при запуске на pycharm с использованием Python. Невозможно запустить программу из-за следующей ошибки:
ERROR: Failed building wheel for TA-Lib-Precompiled
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TA-Lib-Precompiled)
> Package :TA-Lib-Precompiled
> Python Version : Python 3.12.1
> Cython version 3.0.11

Please help in finding the solution !!

Ниже приведены журналы:
> Collecting TA-Lib-Precompiled
Using cached TA-Lib-Precompiled-0.4.25.tar.gz (276 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: numpy in c:\python312\lib\site-packages (from TA-Lib-Precompiled) (1.26.4)
Building wheels for collected packages: TA-Lib-Precompiled
Building wheel for TA-Lib-Precompiled (setup.py): started
Building wheel for TA-Lib-Precompiled (setup.py): finished with status 'error'
Running setup.py clean for TA-Lib-Precompiled
Failed to build TA-Lib-Precompiled

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Cython\\Utils.py", line 129, in Cython.Utils.cached_method.wrapper
File "C:\Python312\Lib\site-packages\Cython\Build\Dependencies.py", line 574, in cimports_externs_incdirs
for include in self.included_files(filename):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Cython\\Utils.py", line 129, in Cython.Utils.cached_method.wrapper
File "C:\Python312\Lib\site-packages\Cython\Build\Dependencies.py", line 556, in included_files
include_path = self.context.find_include_file(include, source_file_path=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\Cython\Compiler\Main.py", line 299, in find_include_file
error(pos, "'%s' not found" % filename)
File "C:\Python312\Lib\site-packages\Cython\Compiler\Errors.py", line 178, in error
raise InternalError(message)
Cython.Compiler.Errors.InternalError: Internal compiler error: '_common.pxi' not found
[end of output]

> note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for TA-Lib-Precompiled
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TA-Lib-Precompiled)


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

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

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

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

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

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

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