Closed hellresistor closed 1 year ago
It looks like it could be a missing dependancy, I had similar issues when working through the install for ARM installing these packages did the trick.
apt-get install build-essential libatlas3-base \
libfreetype6 libjpeg62-turbo \
libopenjp2-7 libtiff5 libxcb1
There is quite a bit of information on the dependancies in a separate fork by https://github.com/paulbruedgam
https://github.com/paulbruedgam/pycryptobot/blob/docker/Dockerfile
This gives you more specific details on which packages have which dependancies, but the commands in my previous answer should cover out most of them.
# Update the base image and install requirements
# - Base build tools
# - build-essentials: contains build tools (e.g. gcc or g++) you need to build Python extensions
# - python3-dev: contains the header files you need to build Python extensions (needed for ARM)
#
# - Pillow (https://pillow.readthedocs.io/en/stable/installation.html#building-on-linux)
# - Python packages: setuptools tk
# - Linux packages (dev): libfreetype6-dev libfribidi-dev libharfbuzz-dev libjpeg62-turbo-dev
# liblcms2-dev libopenjp2-7-dev libtiff5-dev libwebp-dev libxcb1-dev
# tcl8.6-dev tk8.6-dev zlib1g-dev
#
# - Linux packages (prod): libfreetype6 libjpeg62-turbo libopenjp2-7 libtiff5 libxcb1
#
# - matplotlib (https://matplotlib.org/stable/devel/dependencies.html)
# - Python packages: NumPy, Pillow
# - Linux packages (dev): gcc libfreetype6-dev
# - ToDo:
# - https://matplotlib.org/stable/devel/testing.html#run-the-tests
# - Evaluate python3 -m pytest --pyargs matplotlib.tests
#
# - NumPy (https://numpy.org/devdocs/user/building.html)
# - Python packages: Cython
# - Linux packages (dev): gcc gfortran libatlas-base-dev liblapack-dev libopenblas-dev
# - Linux packages (prod): libatlas3-base libopenblas-base
# - ToDo:
# - https://numpy.org/devdocs/dev/development_environment.html#running-tests
# - Evaluate python3 -c 'import numpy as np; np.test("full", verbose=2)'
#
# - pandas (https://pandas.pydata.org/docs/getting_started/install.html#dependencies)
# - Python packages: NumPy, python-dateutil, pytz
# - ToDo:
# - https://pandas.pydata.org/docs/getting_started/install.html#running-the-test-suite
# - Evaluate python3 -c 'import pandas as pd; pd.test()'
#
# - scipy (https://scipy.github.io/devdocs/building/linux.html#id1)
# - Linux packages (dev): gcc g++ gfortran liblapack-dev libopenblas-dev
# - Linux packages (prod): libatlas3-base libopenblas-base
#
# - statsmodels (https://www.statsmodels.org/stable/install.html)
# - Python packages: Cython, NumPy, Pandas, SciPy, Patsy
#
# Note: OpenBLAS packages not available on all arm versions. Using libblas-dev and libblas3 instead
#
cannot find this package libjpeg62-turbo-dev just libjpeg62-dev and keeps same error :S
EDIT: Maybe system issue... retry with a new&clean OS
cannot find this package libjpeg62-turbo-dev just libjpeg62-dev and keeps same error :S
EDIT: Maybe system issue... retry with a new&clean OS
How did you get on?
I have found this post that suggests multiple installs of Pillow will do a similar thing. https://stackoverflow.com/questions/25340698/importerror-cannot-import-name-imaging
They suggest cleaning out this folder and trying to install the requirements.txt again :)
/usr/lib/python3/dist-packages
Keep us updated on your progress. If you need any assists Holla! :)
Describe the bug Not Run. Return error
To Reproduce Steps to reproduce the behavior:
Expected behavior Start running...
Screenshots
Desktop (please complete the following information):
Additional context transcript