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

Failing to start with python 3.10 #52

Open
jstorry opened this issue Jan 4, 2022 · 9 comments
Open

Failing to start with python 3.10 #52

jstorry opened this issue Jan 4, 2022 · 9 comments

Comments

@jstorry
Copy link

jstorry commented Jan 4, 2022

It looks like some deprecated collections classes were removed and are now only accessible in the abc sub module with python 3.10

I was able to get it working by replacing pyparsing.py with https://github.com/pyparsing/pyparsing/blob/master/pyparsing_archive.py but it might make sense more sense to add https://pypi.org/project/pyparsing/ to the requirements.txt instead.

@raychandler
Copy link

Sounds like you've solved it. I really need to get EasyABC going again but I'm not a computer-techie and don't know how to go about what you have written. Could you give simple step-by-step instructions? Thanks.

@jstorry
Copy link
Author

jstorry commented Jan 6, 2022

Sounds like you've solved it. I really need to get EasyABC going again but I'm not a computer-techie and don't know how to go about what you have written. Could you give simple step-by-step instructions? Thanks.

@raychandler If you are able run it with an earlier version of python that would be ideal as there are some other errors related to 3.10 that I haven't really looked into. How you do that will largely depend on your current setup so I'm not sure I can provide a step by step.

I saw you made a comment on source forge and you are using Manjaro Linux, maybe see if you can get the package maintainer to update the package to use an earlier version of python https://aur.archlinux.org/packages/easyabc/

If you don't want to wait you can try cloning this repository and running the application in a virtual environment using an earlier version of python. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#installing-from-version-control-systems

@topchyan
Copy link

Since I like to use EasyABC, but it fails to run on newest Linux Mint / Ubuntu releases due to that pyparsing library issues I stick to the old versions of OS where it does work. Not ideal, hope it will get resolved sometime soon.

@bomm
Copy link

bomm commented Feb 10, 2023

I got it working on Ubuntu 22.04.1 by using a modified newer version of fluidsynth stuff and several manual fixes. See #63 and maybe the wxWidgets issue referenced there. @topchyan What version exactly means newest Linux Mint / Ubuntu releases?

@topchyan
Copy link

What version exactly means newest Linux Mint / Ubuntu releases?
I tried it on Linux Mint 21.1 Cinnamon 64 bit

@robertmuth
Copy link

This hacked up version in a fork works for me on Ubuntu 22.04.2 LTS

https://github.com/robertmuth/EasyABC/tree/ubuntu.22.04

@topchyan
Copy link

topchyan commented Mar 6, 2023

@robertmuth, thanks for this!
I only wish it would eventually be addressed in the master build (@jwdj)
For now will probably stay on the older version of OS.

@mausch
Copy link

mausch commented Jun 11, 2023

Even when replacing pyparsing.py I get an error similar to https://stackoverflow.com/questions/37502112/typeerror-gridsizer-arguments-did-not-match-any-overloaded-call which makes the settings dialogs to squash all content into a single line. It doesn't crash things but settings aren't usable.

@topchyan
Copy link

topchyan commented Jun 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants