-
Notifications
You must be signed in to change notification settings - Fork 52
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
MolVS 0.1.0 Standardization fails on Python 3 #22
Comments
Weird, the Likewise I think the string encoding for py2/py3 was fixed while ago: How did you install MolVS? Is it possible you have an older version? What do you see if you do: >>> import molvs
>>> molvs.__version__
'0.1.0' Might be worth trying to uninstall and install again. |
Yeah, I was confused too, so I tried the reinstall a few times (pip install molvs==0.1.0 and pip install molvs==0.0.9). I'll try clearing the cached version and see if it makes a difference
|
Yeah, even with a forced reinstall I'm getting the same issue, it must just be the PyPI package
|
Oh dear, yes there's definitely something wrong specifically with the wheel file on PyPI. I've removed it, so pip should use the source distribution instead, which looks fine to me. |
That's great, thanks for your quick response! Everything seems to be working perfectly now, I'll close this issue |
Great, I have just had the same issue and this fixed it. Cheers guys |
Hi Matt, a bug report for something I've noticed in the latest release.
The standardize_smiles, Standardizer().tautomer_parent and Standardizer().standardize functions all fail because of line 133. These all work okay in 0.0.9
I had a look at the file and it seems that the 'import six' line is missing. When this is added, I get another error, but I think this may be a Py2 vs Py3 difference:
When I move ".encode('utf8')" from line 42 it works as expected in Py3, but I think this would probably produce an error on Py2.
Hope this helps, thanks for working on this, it's been really useful!
EDIT: I see that these changes are already reflected in the file on GitHub, it seems that the PyPI version is just a bit out of date
The text was updated successfully, but these errors were encountered: