"..python" in /usr/bin/openteacher should be "..python2
Bug #849769 reported by
Bersam Karbasion
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenTeacher | Status tracked in 3.x | |||||
3.x |
Fix Released
|
Wishlist
|
Marten de Vries |
Bug Description
after installing openteacher in archlinux, it give you this error:
Traceback (most recent call last):
File "/usr/bin/
import openteacher as parent
ImportError: No module named openteacher
this is because of python's version in archlinux. in archlinux python means python3 so #! needed to be python2 instead of python.
#!/usr/bin/python
should be:
#!/usr/bin/python2
Changed in openteacher: | |
status: | Confirmed → Triaged |
milestone: | none → 3.0 |
tags: | added: packaging |
To post a comment you must log in.
Thanks for reporting your bug!
This is true. The OpenTeacher ArchLinux package was made a year ago, before the default python was python3 in ArchLinux. Because of the rolling release, this broke many packages, including OpenTeacher.
Packages for ArchLinux haven't been updated since, so the latest OpenTeacher with an ArchLinux package is 2.0.
If you don't mind not using pacman, we recommend you to download the source, and make your own shortcuts.
I will make sure there is an updated ArchLinux package when OpenTeacher 3.0 comes out.