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

imp package is removed from python 3.12 #176

Closed
h-oll opened this issue Oct 13, 2024 · 5 comments
Closed

imp package is removed from python 3.12 #176

h-oll opened this issue Oct 13, 2024 · 5 comments

Comments

@h-oll
Copy link

h-oll commented Oct 13, 2024

Pantalaimon cannot be installed on systems with python 3.12 as it references the imp package that has been removed and replaced by importlib.

@chookity-pokk
Copy link
Collaborator

chookity-pokk commented Oct 15, 2024

Sorry for the delayed response @h-oll, thanks for the report! I will check that out later today and get that fixed! Or if you feel like it, feel free to open a PR and I can review it later as well.

@chookity-pokk
Copy link
Collaborator

@h-oll Can you give a bit of information on how you installed the package? I just built master from source by creating a new conda environment and running pip install . and it was able to build just fine. I also don't see any reference to the imp package anywhere in the repo so a full stack trace would be helpful.

@RedChops
Copy link

Looks like this happens because an old version of matrix_nio is installed. I'm able to run pip install matrix_nio==0.25.2 which makes that error go away, but warns of a compatibility error (does not affect anything it would seem). I arbitrarily picked 0.25.2, you could probably use the newest version just fine

@chookity-pokk
Copy link
Collaborator

@RedChops Thanks for the info! I opened a PR with the updated version of matrix_nio and will merge that tomorrow if there aren't objections.

@chookity-pokk
Copy link
Collaborator

Fixed with #178!

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

3 participants