AutomaThemely icon indicating copy to clipboard operation
AutomaThemely copied to clipboard

AutomaThemely on Ubuntu 19.04 (Python3.7)

Open astridos2go opened this issue 5 years ago • 7 comments

I recently installed Automa Themely on my Ubuntu 19.04 release. However, every time I attempt to launch, it does not launch. When launching from the terminal it gives the message: bash: /usr/local/bin/automathemely: /usr/bin/python3.6: bad interpreter: No such file or directory.

I am guessing this is because Ubuntu 19.04 comes with Python 3.7 installed as opposed to python 3.6. Is there any way to be able to use Python 3.7 instead, or do I need to install 3.6. Or is there something else I am completely missing?

astridos2go avatar Apr 30 '19 20:04 astridos2go

I also ran into problems on 19.04. Running automathemely --manage gives me the output below.

I was going to try to fix it, but I don't work with Python much and I haven't figured out how to run it from source yet :grimacing:

Traceback (most recent call last):
  File "/usr/local/bin/automathemely", line 11, in <module>
    load_entry_point('AutomaThemely==1.3', 'console_scripts', 'automathemely')()
  File "/usr/local/lib/python3.6/dist-packages/automathemely/bin/run.py", line 80, in main
    automathemely.autoth_tools.argmanager.main(user_settings)
  File "/usr/local/lib/python3.6/dist-packages/automathemely/autoth_tools/argmanager.py", line 99, in main
    from . import settsmanager
  File "/usr/local/lib/python3.6/dist-packages/automathemely/autoth_tools/settsmanager.py", line 2, in <module>
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: cannot import name '_gi'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "/usr/local/bin/automathemely", line 11, in <module>
    load_entry_point('AutomaThemely==1.3', 'console_scripts', 'automathemely')()
  File "/usr/local/lib/python3.6/dist-packages/automathemely/bin/run.py", line 80, in main
    automathemely.autoth_tools.argmanager.main(user_settings)
  File "/usr/local/lib/python3.6/dist-packages/automathemely/autoth_tools/argmanager.py", line 99, in main
    from . import settsmanager
  File "/usr/local/lib/python3.6/dist-packages/automathemely/autoth_tools/settsmanager.py", line 2, in <module>
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: cannot import name '_gi'

rdnlsmith avatar May 03 '19 00:05 rdnlsmith

@blumn2 I was looking at other issues just now, and I discovered via #14 that haywirephoenix has a build for 3.7 which seems to be working for me.

rdnlsmith avatar May 03 '19 00:05 rdnlsmith

Ah, I'll add an option for python 3.7 on the next release :)

C2N14 avatar Jun 02 '19 03:06 C2N14

Ubuntu 20.04 is coming with python 3.8 and we still don't have support for python 3.7 . what's going on and why no one is working on this project

arian81 avatar Apr 12 '20 21:04 arian81

Ubuntu 20.04 is coming with python 3.8 and we still don't have support for python 3.7 . what's going on and why no one is working on this project

I'm truly sorry. I've been awfully busy with school and other personal matters this past year or so and I'm afraid I have neglected this project. I hope I can find some extra time during this period to be productive, though I can't promise anything :(

C2N14 avatar Apr 12 '20 22:04 C2N14

Ubuntu 20.04 is coming with python 3.8 and we still don't have support for python 3.7 . what's going on and why no one is working on this project

you have to run again the .package.sh and add declare -a python_versions=("3.8")

it worked for me in Ubuntu 19.04

mijorus avatar Apr 14 '20 10:04 mijorus

Can you explain more in steps how I can do that please?

Mennaruuk avatar Nov 15 '20 02:11 Mennaruuk