-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numpy issue on Rasberry pi 4 (model B) #2104
Comments
I don't think The error you're getting seems to be comming from a missing dependency according to this numpy issue (from a pi zero, but it should be the same for all raspbian devices) numpy/numpy#11110 Try their fix... |
thank a lot! Which installation method would be best? The one on freqtrade.io starting with the note on Raspbian and continuing with the Common part? |
for a Raspberry PI, i would install ta-lib (the c library) regularily (you have to), and then do the raspbian instructions from the documentation. Otherwise, the installation takes half a day or so (at least on a RPI3 - i don't own a RPI4 yet). |
So now, i have 2 issues..
and another with scikit-learn :
|
I do not know why I have so much trouble, when I rule, two others appear |
At the end of the line python3 -m pip install -r requirements.txt, when executed, i have Failed to build scikit-learn |
I execute the line python3 -m pip install -e . to see what happen but i expect some issues too.. |
I think you should follow these steps... copy/pasted for clarity: sudo apt install libffi-dev
conda config --add channels rpi
conda install python=3.6
conda create -n freqtrade python=3.6
conda activate freqtrade
conda install scipy pandas numpy
sudo apt install libffi-dev
python3 -m pip install -r requirements-common.txt
python3 -m pip install -e . Run the line by line ... the only prerequisite is to have ta-lib and (mini/berry?)conda installed |
Good! I finally managed to install it. I put the code here for those who have an RPi and who have the same problem. sudo apt install libffi-dev conda config --add channels rpi python3 -m pip install -r requirements-common.txt |
Just one last question, it is possible to put freqtrade as a service on the raspberry? |
yes this should be possible. https://www.freqtrade.io/en/latest/installation/#7-optional-configure-freqtrade-as-a-systemd-service should work for this case too - however you'll need to modify the |
Thanks a lot for your help ! |
I tried to install freqtrade my raspberry pi 4 only, I came across this problem during the installation and I do not know how to solve it ..
I have already deleted the entire installation, tried again and I still have a problem with the numpy package without knowing why or how to fix it.
Despite this error, the program starts the configuration of the bot by asking me my parameters but I guess it will not work properly with this error?
Thank you.
PS : I use the easy installation linux script + raspbian note
Relevant code exceptions or logs:
The text was updated successfully, but these errors were encountered: