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

Not Running with Python <3.6 #52

Closed
patrickmelix opened this issue Jan 21, 2019 · 4 comments
Closed

Not Running with Python <3.6 #52

patrickmelix opened this issue Jan 21, 2019 · 4 comments

Comments

@patrickmelix
Copy link
Collaborator

patrickmelix commented Jan 21, 2019

Line 22 in plams/interfaces/molecule/rdkit.py uses ModuleNotFoundError which is only added in Python 3.6. Therefore PLAMS cannot run with any version lower than that.
Edit: Seems like it pops up in more than one place....

This is bad since many users are restricted to the Python Version from the OS.

@patrickmelix
Copy link
Collaborator Author

Workaround: Replace all by ImportError

@h4nsu
Copy link
Contributor

h4nsu commented Jan 21, 2019

Meeeeh, backwards compatibility is soooo overrated ;) Besides that, Python 3.6 was released in December 2016...

Ok, I'll fix it :P

@patrickmelix
Copy link
Collaborator Author

patrickmelix commented Jan 23, 2019

If it would have been a killer feature, I would have upgraded. But for an ImportError?! Nope 😜

Thanks!

@h4nsu
Copy link
Contributor

h4nsu commented Jan 25, 2019

Viola!

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

2 participants