Why run guake by python2 but there are 'python3' in errors?

user3369980

My os is archlinux.I have installed guake for a month and it works well.But today it can't start,and the errors is:

[arch@arch ~]$ python2 /usr/bin/guake
Traceback (most recent call last):
  File "/usr/bin/guake", line 34, in <module>
    import dbus
  File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
  File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type

How can I fix it?

user3369980

I find that the PYTHONPATH was set to

/usr/lib/python3.3/site-packages in /etc/profile

Comment this will solve it.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Ubuntu 16.04 default python environment in my user profile is Anaconda Python2, unable to run guake "anaconda2/bin/python2: No module named guake"

From Dev

How can I make the "python" command in terminal, run python3 instead of python2?

From Dev

Why is this script taking more time in python3 than python2?

From Dev

Why do I have problems loading a module in Python3 but not in Python2?

From Dev

Why python3 pip module found the python2 libraries?

From Dev

Why does Python3 get a UnicodeDecodeError reading a text file where Python2 does not?

From Dev

Dependency errors for python3 and many others when I run sudo apt-get upgrade

From Dev

Dependency errors for python3 and many others when I run sudo apt-get upgrade

From Dev

How do I tell snapcraft to run my code as python2 not python3 when using the new python plugin?

From Dev

Why is definition order not available in python2?

From Dev

Cannot simultaneously run python 2 and 3 due to import errors

From Dev

Cannot simultaneously run python 2 and 3 due to import errors

From Dev

Using #!python2 not working to run under Python 2

From Dev

Why pip3 install in python2 sitepackages

From Dev

Run Flask using python3 not python

From Dev

Run Stata from Python and assure that there was no errors

From Dev

Python3 Run Alias Bash Commands

From Dev

Run Python3 code from PHP

From Dev

Run linux shell commands in Python3

From Dev

Run pip for python3 on Fedora

From Dev

Run Python3 code from PHP

From Dev

Why doesn't my idea work in python2?

From Dev

function to write on stderr with python2 and python3

From Dev

Portable meta class between python2 and python3

From Dev

update flask project from python2 to python3

From Dev

Does select() behave differently on python2 and python3?

From Dev

Create a virtualenv with both python2 and python3

From Dev

dict's __repr__() in python2 and python3

From Dev

python3 division operator exactly like in python2

Related Related

  1. 1

    Ubuntu 16.04 default python environment in my user profile is Anaconda Python2, unable to run guake "anaconda2/bin/python2: No module named guake"

  2. 2

    How can I make the "python" command in terminal, run python3 instead of python2?

  3. 3

    Why is this script taking more time in python3 than python2?

  4. 4

    Why do I have problems loading a module in Python3 but not in Python2?

  5. 5

    Why python3 pip module found the python2 libraries?

  6. 6

    Why does Python3 get a UnicodeDecodeError reading a text file where Python2 does not?

  7. 7

    Dependency errors for python3 and many others when I run sudo apt-get upgrade

  8. 8

    Dependency errors for python3 and many others when I run sudo apt-get upgrade

  9. 9

    How do I tell snapcraft to run my code as python2 not python3 when using the new python plugin?

  10. 10

    Why is definition order not available in python2?

  11. 11

    Cannot simultaneously run python 2 and 3 due to import errors

  12. 12

    Cannot simultaneously run python 2 and 3 due to import errors

  13. 13

    Using #!python2 not working to run under Python 2

  14. 14

    Why pip3 install in python2 sitepackages

  15. 15

    Run Flask using python3 not python

  16. 16

    Run Stata from Python and assure that there was no errors

  17. 17

    Python3 Run Alias Bash Commands

  18. 18

    Run Python3 code from PHP

  19. 19

    Run linux shell commands in Python3

  20. 20

    Run pip for python3 on Fedora

  21. 21

    Run Python3 code from PHP

  22. 22

    Why doesn't my idea work in python2?

  23. 23

    function to write on stderr with python2 and python3

  24. 24

    Portable meta class between python2 and python3

  25. 25

    update flask project from python2 to python3

  26. 26

    Does select() behave differently on python2 and python3?

  27. 27

    Create a virtualenv with both python2 and python3

  28. 28

    dict's __repr__() in python2 and python3

  29. 29

    python3 division operator exactly like in python2

HotTag

Archive