This topic was automatically generated from Slack. You can find the original thread here.
tried to use openn package and got this error: Error
Command failed: python3 -m pip install --target=/tmp/pdg/dist/python -r requirements.txt --upgrade WARNING: The directory ‘/home/sbx_user1051/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag. error: subprocess-exited-with-error × Building wheel for bt (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [16 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-39 creating build/lib.linux-x86_64-cpython-39/bt copying bt/algos.py -> build/lib.linux-x86_64-cpython-39/bt copying bt/init.py -> build/lib.linux-x86_64-cpython-39/bt copying bt/core.py -> build/lib.linux-x86_64-cpython-39/bt copying bt/backtest.py -> build/lib.linux-x86_64-cpython-39/bt running build_ext building ‘bt.core’ extension creating build/temp.linux-x86_64-cpython-39 creating build/temp.linux-x86_64-cpython-39/bt gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/var/lang/include/python3.9 -c bt/core.c -o build/temp.linux-x86_64-cpython-39/bt/core.o error: command ‘gcc’ failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for bt ERROR: Could not build wheels for bt, which is required to install pyproject.toml-based projects WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available. You should consider upgrading via the ‘/var/lang/bin/python3 -m pip install --upgrade pip’ command.
# pipedream add-package openbb
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}