anaconda / miniconda auf DS213+ installieren

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

As76

Benutzer
Registriert
08. Mai 2021
Beiträge
7
Reaktionspunkte
0
Punkte
1
Hallo allerseits,
versuche anaconda / minconda auf meiner DS213+ zu installieren. Mein Ziel ist es Python 3.x Skripte, die pandas, numpy, usw. Module brauchen auf der DS213+ laufen zu lassen.
Habe dazu das PPC Paket "Miniconda3-latest-Linux-ppc64le.sh" der miniconda Homepage runtergeladen und per Shell auf der DS zu installieren versucht. Leider gelingt mir das nicht.

Your machine hardware does not appear to be Power8 (little endian),
but you are trying to install a ppc64le version of Miniconda3.
Are sure you want to continue the installation?


Nach meinem Verständnis ist der Verbaute Freescale QorIQ 1,067GHz Dual Core ein 32bit PPC daher die Fehlermeldung.

Meine Fragen:
1. Gibt es eine andere Möglichkeiten Python Module auf der DS213+ zu installieren?
2. Hat jemand anaconda / miniconda auf einer x86 DS erfolgreich laufen? Überlege auf die DS720+ umzusteigen.

Danke & Gruß
 
Python paket mit python modules? sollte meine ich pip mitbringen.
 
Hi, und danke für Deine Rückmeldung.

Habe jetzt pip installiert und kann Module installieren. Leider funktioniert es mit pandas nicht. Bekomme dort lauter Fehlermeldungen in der Shell.

Using cached pandas-1.2.4.tar.gz (5.5 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 /tmp/pip-standalone-pip-xojvbkjl/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9eabj7c2/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"''
cwd: None
Complete output (85 lines):
Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
Collecting setuptools
Downloading setuptools-56.2.0-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.21
Using cached Cython-0.29.23-py2.py3-none-any.whl (978 kB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_hvzogo_
cwd: /tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/
Complete output (14 lines):
Running from numpy source directory.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py", line 443, in <module>
setup_package()
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py", line 422, in setup_package
from numpy.distutils.core import setup
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/core.py", line 26, in <module>
from numpy.distutils.command import config, config_compiler, \
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/command/config.py", line 20, in <module>
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/mingw32ccompiler.py", line 31, in <module>
import distutils.cygwinccompiler
ModuleNotFoundError: No module named 'distutils.cygwinccompiler'
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c
Complete output (10 lines):
Running from numpy source directory.

`setup.py clean` is not supported, use one of the following instead:

- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)

Add `--force` to your command to use it anyway if you must (unsupported).

----------------------------------------
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: wheel, setuptools, numpy, Cython
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mv5yy7b4/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-9eabj7c2/overlay --compile --install-headers /tmp/pip-build-env-9eabj7c2/overlay/include/python3.8/numpy
cwd: /tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/
Complete output (23 lines):
Running from numpy source directory.

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPi)


Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py", line 443, in <module>
setup_package()
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py", line 422, in setup_package
from numpy.distutils.core import setup
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/core.py", line 26, in <module>
from numpy.distutils.command import config, config_compiler, \
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/command/config.py", line 20, in <module>
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/numpy/distutils/mingw32ccompiler.py", line 31, in <module>
import distutils.cygwinccompiler
ModuleNotFoundError: No module named 'distutils.cygwinccompiler'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1erwqsim/numpy_5267aae95a32443d904749fb0f3fa35c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mv5yy7b4/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-9eabj7c2/overlay --compile --install-headers /tmp/pip-build-env-9eabj7c2/overlay/include/python3.8/numpy Check the logs for full command output.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/pack...f967ff936496b0cfba0af00a55dfaacd82bdda5cb2279 (from https://pypi.org/simple/pandas/) (requires-python:>=3.7.1). Command errored out with exit status 1: /usr/local/bin/python3 /tmp/pip-standalone-pip-xojvbkjl/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9eabj7c2/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"'' Check the logs for full command output.
 
Der Versucht numpy zu compilen und das geht leider nicht.
Ich empfehle dir hier docker zu verwenden.
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat