Код: Выделить всё
!curl -L http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -O && tar xzvf ta-lib-0.4.0-src.tar.gz
!cd ta-lib && ./configure --prefix=/usr && make && make install && cd - && pip install ta-lib
Код: Выделить всё
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (2.2.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting ta-lib
Using cached ta_lib-0.6.0.tar.gz (371 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from ta-lib) (75.7.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from ta-lib) (2.2.1)
Building wheels for collected packages: ta-lib
Building wheel for ta-lib (pyproject.toml) ... error
ERROR: Failed building wheel for ta-lib
Failed to build ta-lib
ERROR: Could not build wheels for ta-lib, which is required to install pyproject.toml-based projects
Подробнее здесь: https://stackoverflow.com/questions/793 ... l-in-colab
Мобильная версия