You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have installed pywafo and tried to run the tutorials but I am running into some issues. From chapter 1 I have here given the smallest example to raise the error I have installed the pywafo project from this repository, but also tried the anaconda version which gives the same error
File "C:/Data/Eelco/Python Scripts/PyCharm/pywafo_examples/tutorial_scripts/bug_example.py", line 14, in <module>
dtyex = S1.to_t_pdf(pdef='Tt', paramt=(0, 10, 51), nit=3)
File "C:\Apps\Anaconda\Anaconda2\lib\site-packages\wafo-0.1.2-py2.7.egg\wafo\spectrum\core.py", line 1369, in to_t_pdf
rind = Rind(**opts)
TypeError: 'NoneType' object is not callable
It appears that Rind is loaded in wafo.gauss, however, this is not done correctly and therefore remains None
Therefore, as a work around I try to force to load wafo.gauss.Rind again before I call the to_t_pdf as
from wafo.gaussian import Rind
Now Rind seems to be loaded, but I get the following error
Traceback (most recent call last):
File "C:/Data/Eelco/Python Scripts/PyCharm/pywafo_examples/tutorial_scripts/bug_example.py", line 14, in <module>
from wafo.gaussian import Rind
File "C:\Apps\Anaconda\Anaconda2\lib\site-packages\wafo-0.1.2-py2.7.egg\wafo\gaussian.py", line 7, in <module>
from wafo import mvn
ImportError: DLL load failed: %1 is not a valid Win32 application.
I am not sure if this error is related to the first problem. Anyhow. Any idea how I could fix this?
Many thanks
Regards
Eelco
The text was updated successfully, but these errors were encountered:
Hello,
I have installed pywafo and tried to run the tutorials but I am running into some issues. From chapter 1 I have here given the smallest example to raise the error I have installed the pywafo project from this repository, but also tried the anaconda version which gives the same error
The example is:
Running this code raises the issue
It appears that Rind is loaded in wafo.gauss, however, this is not done correctly and therefore remains None
Therefore, as a work around I try to force to load wafo.gauss.Rind again before I call the to_t_pdf as
Now Rind seems to be loaded, but I get the following error
I am not sure if this error is related to the first problem. Anyhow. Any idea how I could fix this?
Many thanks
Regards
Eelco
The text was updated successfully, but these errors were encountered: