Could not build wheels for Ta-Lib, which is required to install pyproject.toml-based projects
时间: 2023-10-12 09:01:26 浏览: 328
It seems that you are encountering an error while trying to install a project that has a dependency on Ta-Lib. The error message suggests that the wheels for Ta-Lib could not be built during the installation process.
One possible solution is to manually install the binary version of Ta-Lib instead of building it from source. Here are the steps you can follow:
1. Ensure that you have the necessary build tools installed on your system. For example, on Ubuntu, you can run `sudo apt-get install build-essential` to install the essential build tools.
2. Download the appropriate binary package for Ta-Lib from their official website (http://ta-lib.org/hdr_dw.html) based on your operating system and architecture.
3. Extract the downloaded package and navigate to the extracted folder using the command line.
4. Run the following commands to install Ta-Lib:
```
./configure --prefix=/usr
make
sudo make install
```
Note: If you encounter any errors during this process, please make sure you have the necessary dependencies installed, as mentioned in the Ta-Lib documentation.
5. Once Ta-Lib is successfully installed, try installing your project again using pip.
If the issue persists or you encounter any other errors, please provide more details or error messages so that I can assist you further.
阅读全文