Knickohr hat geschrieben:Na Holger, Du bist doch mit Theli groß geworden![]()
Hallo Thomas,
mit Theli bin ich nicht groß geworden sondern nur ....... schnell viel älter.



Aber die große Unbekannte heißt Linux, da versteh ich überhaupt nix.
Knickohr hat geschrieben:Na Holger, Du bist doch mit Theli groß geworden![]()
Holger hat geschrieben:ii python-pip 1.0-1build1 alternative Python package installer
sudo apt-get install python-pip
holger@holger-desktop:~$ sudo apt-get install python-pip
[sudo] password for holger:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
python-pip ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
holger@holger-desktop:~$ sudo apt-get install python python-dev python-numpy python-scipy python-astropy
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
E: Paket python-astropy kann nicht gefunden werden
holger@holger-desktop:~$
mischa hat geschrieben:Holger hat geschrieben:ii python-pip 1.0-1build1 alternative Python package installer
dürfte wohl auch nicht die Erklärung für mein Problem sein.
sudo apt-get install python-pip
holger@holger-desktop:~$ pip install astropy
Downloading/unpacking astropy
Running setup.py egg_info for package astropy
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.5.0 in /usr/lib/python2.7/dist-packages (from astropy)
Installing collected packages: astropy
Running setup.py install for astropy
building 'astropy.utils._compiler' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c astropy/utils/src/compiler.c -o build/temp.linux-x86_64-2.7/astropy/utils/src/compiler.o
astropy/utils/src/compiler.c:1:20: schwerwiegender Fehler: Python.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/holger/build/astropy/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-_XpT4F-record/install-record.txt:
running install
running build
running build_py
copying astropy/wcs/include/wcslib/cel.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/lin.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/prj.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/spc.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/spx.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/tab.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/wcs.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/wcserr.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/wcsmath.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
copying astropy/wcs/include/wcslib/wcsprintf.h -> build/lib.linux-x86_64-2.7/astropy/wcs/include/wcslib
running build_ext
building 'astropy.utils._compiler' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c astropy/utils/src/compiler.c -o build/temp.linux-x86_64-2.7/astropy/utils/src/compiler.o
astropy/utils/src/compiler.c:1:20: schwerwiegender Fehler: Python.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/holger/build/astropy/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-_XpT4F-record/install-record.txt failed with error code 1
Storing complete log in /home/holger/.pip/pip.log
holger@holger-desktop:~$
holger@holger-desktop:~$ cd /home/holger/pip-1.5.6/
holger@holger-desktop:~/pip-1.5.6$ python setup.py install
running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/test-easy-install-2715.pth'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.7/dist-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
http://packages.python.org/distribute/easy_install.html
Please make the appropriate changes for your system and try again.
holger@holger-desktop:~/pip-1.5.6$
Zurück zu Installation und Ubuntheli
Mitglieder in diesem Forum: Bing [Bot] und 1 Gast