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

Missing stdlib modules #20

Closed
fl0wmaster opened this issue Jan 6, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@fl0wmaster
Copy link

commented Jan 6, 2018

I am in the process of making sympy available in your environment but found no support for:

doctest (standard in python 3), available through import.
distutils (standard in python 3)

This prevents me to continue the project, there are simply to many dependencies on these modules to work around them.

When these are available it might be that more is required, I cannot see this right now.....

Hope you consider incorporating support for these modules.

@mhsmith

This comment has been minimized.

Copy link
Member

commented Jan 6, 2018

Thanks for the report, we'll take a look at it.

Internal issue id: 5160

@mhsmith mhsmith added the bug label Jan 6, 2018

@mhsmith mhsmith changed the title feature request Missing stdlib modules Jan 6, 2018

@mhsmith

This comment has been minimized.

Copy link
Member

commented Jan 7, 2018

Fixed in Chaquopy 1.2.0. If your app was using Python 2.7.10, you'll also need to update that to 2.7.14. If you were using Python 3.6.3, then you can leave it unchanged.

I'm not familiar with sympy, but I've tried some basic things from the documentation and it seems to work fine now. However, it does take a long time to import: it looks like it's loading several hundred modules.

I've added sympy and its dependency mpmath to our wheel repository, so you won't need to use your own builds anymore.

@mhsmith mhsmith closed this Jan 7, 2018

@fl0wmaster

This comment has been minimized.

Copy link
Author

commented Jan 7, 2018

@mhsmith

This comment has been minimized.

Copy link
Member

commented Jul 5, 2018

The slow import issue was fixed in Chaquopy 2.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.