Reputation: 1
I have a problem creating the ta-lib module in Colab. Until a month ago, the following procedure worked.
!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
Unfortunately, this method no longer works and I get the following error message.
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
I have searched intensively for a solution to the problem but so far no method has worked.
Upvotes: 0
Views: 12