-
Notifications
You must be signed in to change notification settings - Fork 42
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
ImportError: cannot import name 'entropy' from 'wafo.stats._distn_infrastructure' #52
Comments
The version I've tried to install is 0.4.0. Here's the full trace, though with the path in the first call omitted: `Traceback (most recent call last): File "{omitted}", line 1, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo_init_.py", line 7, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo\objects.py", line 15, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo\transform_init_.py", line 7, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo\transform\estimation.py", line 8, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo\stats_init_.py", line 6, in File "C:\Users\qarbolante\Anaconda3\envs\wafobuild37\lib\site-packages\wafo\stats\distributions.py", line 10, in |
Hi @Cubostar , I ran into this recently as well. The solution I found was to add the line It appears that pywafo was relying on the entropy objecting being imported with the glob statement |
This was probably fixed in #54. |
Indeed, it should have. Please report back if it hasn't. |
After installing wafo on an Anaconda Python 3.7 environment with help from this thread, I tried
import wafo
and got the titular error. Any fix?The text was updated successfully, but these errors were encountered: