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

some changes for python 3.10 as diff #84

Open
olisnr opened this issue Jun 2, 2024 · 5 comments
Open

some changes for python 3.10 as diff #84

olisnr opened this issue Jun 2, 2024 · 5 comments

Comments

@olisnr
Copy link

olisnr commented Jun 2, 2024

hi
when i try to use this interesting module with python 3.10 there popup many error messages

the first is: `Exception has occurred: AttributeError
module 'numpy' has no attribute 'float'.

its possible to change the float to float64, but then the next error comes. the function scipy.signal.step2() was replaced with step(). after import collections it seems to need a collections.Iterable = collections.abc.Iterable. the function gcd() is now in the module math instead of fractions and there are more problems i didnt found out by now.

thus my question: is deltasigma already ported to a more modern python version? and if Yes, where to find it? or should i try to fix all errors my self and somehow upload it (if im lucky)?

@olisnr
Copy link
Author

olisnr commented Jun 5, 2024

i got a part running on python 3.10
here is my diff:
ds.diff.zip

@olisnr olisnr changed the title AttributeError: module 'numpy' has no attribute 'float'. some changes for python 3.10 as diff Jun 5, 2024
@DanielGlouseer
Copy link

I just faced the same condition with you and couldn't figure it out...

@olisnr
Copy link
Author

olisnr commented Oct 10, 2024

@DanielGlouseer does the diff work for You?

@DanielGlouseer
Copy link

I encountered another error. First is: 'Exception has occurred: AttributeError module 'numpy' has no attribute 'float' . Then I change to float64 and it seems ok. Also I ignore anywhere mentioned ''plt.ishold''. The next error I faced is ''Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure''. I tried use code as matplotlib.use('TkAgg'), now I could get the correct picture.

@olisnr
Copy link
Author

olisnr commented Oct 22, 2024

can You make a diff of all Your work?

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