iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://github.com/C2N14/AutomaThemely/issues/19
AutomaThemely on Ubuntu 19.04 (Python3.7) · Issue #19 · C2N14/AutomaThemely · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutomaThemely on Ubuntu 19.04 (Python3.7) #19

Open
astridos2go opened this issue Apr 30, 2019 · 7 comments
Open

AutomaThemely on Ubuntu 19.04 (Python3.7) #19

astridos2go opened this issue Apr 30, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@astridos2go
Copy link

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?

@rdnlsmith
Copy link

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 😬

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
Copy link

@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.

@C2N14 C2N14 added the bug Something isn't working label May 18, 2019
@C2N14
Copy link
Owner

C2N14 commented Jun 2, 2019

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

@arian81
Copy link

arian81 commented Apr 12, 2020

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

@C2N14
Copy link
Owner

C2N14 commented Apr 12, 2020

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 :(

@mijorus
Copy link

mijorus commented Apr 14, 2020

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

@Mennaruuk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants