Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
$pythonpath ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
henry
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 141

PostPosted: Tue Mar 22, 2022 9:47 am    Post subject: $pythonpath ? Reply with quote

Hallo Freunde,

ich möchte gnuradio-3.9 aus den Quellen installieren.
Compilierung und Installation laufen fehlerfrei durch.

Wenn ich gnuradio-companion starte
wird PYTHONPATH und/oder LD_LIBRARY_PATH nicht gefunden.

Code:

echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/usr/lib/llvm/11/bin:/usr/lib/llvm/10/bin:/usr/games/bin:/usr/lib64/opencascade/bin


Code:

 echo $LD_LIBRARY_PATH
/usr/lib:/usr/lib64:/usr/local/lib64:/usr/local/lib:


Code:

echo $PYTHONPATH



Kein $PYTHONPATH

Das ist auch ein Problem bei der Installation extener gr-module.

gnuradio-3.8 aus dem portage rennt. Allerdings sin wenig gr-module im portage.

Bin für jeden Hinweis dankbar.

73 Henry
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1670

PostPosted: Mon Mar 28, 2022 11:39 am    Post subject: Reply with quote

Zu PYTHONPATH: das muss nicht zwangsweise gesetzt werden, in dieser Variable kann man zusätzliche Pfade zum suchen für python angeben, deswegen ist es vollkommen OK, wenn die leer ist.

Aber vermutlich ist das auch dein Problem, da du gnuradio ja manuell installiert hast, wirst du auch PYTHONPATH variable manuell setzen müssen, auf den passenden Pfad.
Ich hab keine Ahnung wie die Verzeichnisstruktur von gnuradio aussieht, wenn man es selber baut, aber da solltest du dann wohl auch irgendwo eine ganze menge python module finden. Das musst du dann in deine PYTHONPATH variable schreiben.
Auch wäre die tatsächliche Fehlermeldung immer gut, wenn du ein Problem hast.

Zu PYTHONPATH siehe auch hier: https://docs.python.org/3/using/cmdline.html#environment-variables
Back to top
View user's profile Send private message
henry
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 141

PostPosted: Wed Mar 30, 2022 6:47 am    Post subject: Reply with quote

Hallo Christian99,

danke für die Antwort. Ich habe inzwischen die Variablen gesetzt und konnte
gnuradio-3.9 installieren. Leider scheint es noch andere Inkompatibilitäten zu geben.
Es gibt noch Problem mit den Modulen. Ich bleibe jetzt bei 3.8. Ich habe zu wenig
Zeit noch weiter zu suchen.

Danke und 73 Henry
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1670

PostPosted: Wed Mar 30, 2022 8:51 am    Post subject: Reply with quote

meine Vermutung wäre, dass er sowohl die selbst installierten Module findet, als auch die von portage installierten, die dann nicht zusammenpassen.
Ich würde einfach mal versuchen, das gnuradio von portage zu deinstallieren.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum