PipedreamHQ / PipedreamHQ/pipedream
[BUG] ImportError: Failed installation of python-bitcoinlib due to fastecdsa wheel build error
- Dominant language
- JavaScript
- Stars
- 11.7k
- Forks
- 5.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 102
Description
**Describe the bug**
This error occurred during the installation (running of a script where the `python-bitcoinlib` library is used) of the `python-bitcoinlib` library in a Pipedream workflow. The error message indicates that the `fastecdsa` wheel build failed with exit code 1, resulting in the installation failure. The error output shows warnings related to the beta status of the `tool.setuptools` configuration in the `pyproject.toml` file, and it also mentions that the cache has been disabled due to issues with permissions and ownership of the pip cache directory. This error needs to be addressed to successfully import the required libraries for the Pipedream workflow.
**To Reproduce**
Steps to reproduce the behavior:
1. Add Python as a step
2. Add this code:
```
# Import required libraries
# pipedream add-package python-bitcoinlib
from bitcoinlib.mnemonic import Mnemonic
from bitcoinlib.wallets import *
```
4. Run the workflow
5. See error
**Expected behavior**
The code was expected to successfully import the `Mnemonic` class from the` bitcoinlib` library and all wallets from the `bitcoinlib.wallets` module. The` fastecdsa` library, which is a dependency of `bitcoinlib`, was expected to be installed successfully without any errors during the build process. The installation of the required packages using pip in the Pipedream environment was expected to complete without any permission issues related to the cache directory.
**Desktop (please complete the following information):**
- Device: Apple MacBook Air (M2)
- OS: MacOS Ventura 13.0.1
- Browser: Firefox
- Version: 112.0.1 (64-bit)
Contributor guide
Assessment
This issue has not been assessed yet.