Wavetorch cannot be imported
import wavetorch
File "G:\Anaconda\lib\site-packages\wavetorch_init_.py", line 1, in
ImportError: cannot import name 'data' from 'wavetorch' (G:\Anaconda\lib\site-packages\wavetorch_init_.py
The same problem for me after pip install wavetorch
Looks like that directory is missing from the pip package for some reason. You can just download the code from this repo instead.
Yes, I also try to download it directly from GitHub, but it always happens import error.
获取 Outlook for iOShttps://aka.ms/o0ukef
发件人: Ian Williamson [email protected] 发送时间: Saturday, October 10, 2020 5:41:42 AM 收件人: fancompute/wavetorch [email protected] 抄送: Zhang, Weilin [email protected]; Comment [email protected] 主题: Re: [fancompute/wavetorch] Wavetorch cannot be imported (#9)
This email from [email protected] originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Looks like that directory is missing from the pip package for some reason. You can just download the code from this repo instead.
― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/fancompute/wavetorch/issues/9#issuecomment-706411774, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANLP5WZQMX7GRPK2QS33OBLSJ57RNANCNFSM4NKGRDPQ.
The platform I used is Google Colab.
获取 Outlook for iOShttps://aka.ms/o0ukef
发件人: Zhang, Weilin [email protected] 发送时间: Saturday, October 10, 2020 7:37:03 AM 收件人: fancompute/wavetorch [email protected]; fancompute/wavetorch [email protected] 抄送: Comment [email protected] 主题: Re: [fancompute/wavetorch] Wavetorch cannot be imported (#9)
Yes, I also try to download it directly from GitHub, but it always happens import error.
获取 Outlook for iOShttps://aka.ms/o0ukef
发件人: Ian Williamson [email protected] 发送时间: Saturday, October 10, 2020 5:41:42 AM 收件人: fancompute/wavetorch [email protected] 抄送: Zhang, Weilin [email protected]; Comment [email protected] 主题: Re: [fancompute/wavetorch] Wavetorch cannot be imported (#9)
This email from [email protected] originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Looks like that directory is missing from the pip package for some reason. You can just download the code from this repo instead.
― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/fancompute/wavetorch/issues/9#issuecomment-706411774, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANLP5WZQMX7GRPK2QS33OBLSJ57RNANCNFSM4NKGRDPQ.
I have a similar issue:
Traceback (most recent call last):
File "./study/vowel_train.py", line 5, in <module>
import wavetorch
File "/home/chezzyfries/.local/lib/python3.8/site-packages/wavetorch/__init__.py", line 1, in <module>
from . import rnn, cell, geom, source, probe, data, plot, utils, io
ImportError: cannot import name 'data' from partially initialized module 'wavetorch' (most likely due to a circular import) (/home/chezzyfries/.local/lib/python3.8/site-packages/wavetorch/__init__.py)
I have tried using both pip install wavetorch and installing wavetorch from the code in repo. Please let me know if there is a known solution to this.
UPDATE: It works on copying the /wavetorch/data folder from this repo to pythonX.X/site-packages/wavetorch
Hello,
I am getting the same errors when I am trying to use it with Python 3.11.4 on Windows 10 (x64).
Are there any updates to get this to work? Thanks