Neues Theli

Linux (Theli bezogen), Theli, GUI und Hilfsprogramme.
Forumsregeln
Bitte die Beiträge kurz fassen, so kann man sie nachher besser finden. Sollte ein Problem gelöst sein, dann einen neuen Beitrag eröffnen. Ebenso wenn die Ursache eine ganz andere ist, oder es Offtopic wird.

Re: Neues Theli

Beitragvon Holger » Montag 19. Mai 2014, 22:04

Knickohr hat geschrieben:Na Holger, Du bist doch mit Theli groß geworden :mrgreen:


Hallo Thomas,

mit Theli bin ich nicht groß geworden sondern nur ....... schnell viel älter. :D :D :D

Aber die große Unbekannte heißt Linux, da versteh ich überhaupt nix.
Gruß und CS
Holger
Holger
 
Beiträge: 165
Registriert: Donnerstag 29. September 2011, 16:02
Wohnort: Berlin - Buckow

Re: Neues Theli

Beitragvon mischa » Dienstag 20. Mai 2014, 04:36

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. :?[/quote]

doch!
Code: Alles auswählen
sudo apt-get install python-pip


danach sollte 'pip' vorhanden sein.

mischa
mischa
Moderator
 
Beiträge: 1266
Registriert: Freitag 7. Oktober 2011, 14:07
Wohnort: Chile

Re: Neues Theli

Beitragvon Holger » Dienstag 20. Mai 2014, 05:52

Hallo Mischa,

ja ja ..... das Leben könnte so einfach sein wenn es nicht meinen Computer geben würde. :D

pip ist vorhanden ....
aber python-astropy wird nicht gefunden.

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:~$
Gruß und CS
Holger
Holger
 
Beiträge: 165
Registriert: Donnerstag 29. September 2011, 16:02
Wohnort: Berlin - Buckow

Re: Neues Theli

Beitragvon Knickohr » Dienstag 20. Mai 2014, 09:24

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. :?


doch!
Code: Alles auswählen
sudo apt-get install python-pip


danach sollte 'pip' vorhanden sein.

mischa

Hähhh ???

Ist doch schon installiert, da sind 2i vor dem Paket :shock: :mrgreen:

Holger, such doch mal nach dem Paket python-astrophy :

sudo dpkg --list | grep -i astropy

Thomas
Benutzeravatar
Knickohr
Moderator
 
Beiträge: 631
Registriert: Donnerstag 29. September 2011, 12:01
Wohnort: Blaustein

Re: Neues Theli

Beitragvon Holger » Dienstag 20. Mai 2014, 12:47

Hallo Thomas,

dann kommt nur eine leere Zeile bei mir.
Keine Fehlermeldung ...... nichts.
Gruß und CS
Holger
Holger
 
Beiträge: 165
Registriert: Donnerstag 29. September 2011, 16:02
Wohnort: Berlin - Buckow

Re: Neues Theli

Beitragvon Holger » Dienstag 20. Mai 2014, 13:01

so, jetzt habe ich mich mal versucht auf der Seite astropy.org einzulesen.

der erste Versuch brachte folgendes:
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:~$


der zweite Versuch mit download und entpacken brachte das zu Tage:
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$
Gruß und CS
Holger
Holger
 
Beiträge: 165
Registriert: Donnerstag 29. September 2011, 16:02
Wohnort: Berlin - Buckow

Re: Neues Theli

Beitragvon mischa » Dienstag 20. Mai 2014, 19:05

Du musst das pip Kommando natuerlich mit einem 'sudo' davor ausfuehren, sonst kann es nicht in die systemweiten Pfade, in denen DU keine Schreibberechtigung hast, installiert werden.

mischa
mischa
Moderator
 
Beiträge: 1266
Registriert: Freitag 7. Oktober 2011, 14:07
Wohnort: Chile

Vorherige

Zurück zu Installation und Ubuntheli

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 13 Gäste

cron