python3
to moja lokalna wersja pytona w Anakondzie, natomiast systemowa to python3.4
. mogę zaimportować moduł gi
z python3.4
(prawdopodobnie dlatego zainstalowałem go sudo apt-get install python3-gi
), ale python3
nie widzi:Jak zainstalować moduł gi dla anakonda python3?
$ python3 -c 'import gi'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'gi'
$ python3.4 -c 'import gi'
$ python3 --version
Python 3.5.1 :: Anaconda 4.0.0 (64-bit)
$ python3.4 --version
Python 3.4.3
$ which python3
/home/kossak/anaconda3/bin/python3
$ which python3.4
/usr/bin/python3.4
$
Jak należy zainstalować gi
dla Anaconda python? A może w jakiś sposób mogę importować moduły szerokopasmowe?
Mój OS:
System: Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2) Desktop: Cinnamon 2.8.8 (Gtk 2.24.23) dm: mdm
Distro: Linux Mint 17.3 Rosa