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 '_set_worker_signal_handlers' #32
Comments
I solved this. |
Hi @dongdonghy, I'm using pytorch 0.3.0b0 with python 3.6. I got the same error when I tried to do |
I thought it was because of the pytorch version. Try to use pytorch 0.4 using anaconda.
I just installed a higher version and it worked.
…--
董洪义
TEL:13261785354
EMAIL:donghylcuky@126.com
学校院系:北京航空航天大学机械工程及自动化学院机器人所
At 2018-05-04 07:40:19, "saerxiao" <notifications@github.com> wrote:
Hi @dongdonghy, I'm using pytorch 0.3.0b0 with python 3.6. I got the same error when I tried to do
from torch._C import _set_worker_signal_handlers
What did you solve this problem? Thanks in advanced for your help!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I got the same problem. But I'm having PyTorch v1.1 installed. Can you give me more detail how to solve it? |
This error appear in nightly version, and the 1.0 version without it. (A strage thing: no error when run in IDE, and error when run in terminal) |
I had already replied it here. I think we can stop discussing it in this thread and move to the other. |
Hi, I found that the pytorch requires python>=3.6, so I installed pytorch0.4 with python3.6. When I do ./demo_test.sh, it gave me the error:
File "test.py", line 13, in
from dataset import TestDataset
File "/home/aizz/Documents/kaggle/semantic-segmentation-pytorch/dataset.py", line 4, in
import lib.utils.data as torchdata
File "/home/aizz/Documents/kaggle/semantic-segmentation-pytorch/lib/utils/data/init.py", line 3, in
from .dataloader import DataLoader
File "/home/aizz/Documents/kaggle/semantic-segmentation-pytorch/lib/utils/data/dataloader.py", line 3, in
from torch._C import _set_worker_signal_handlers, _update_worker_pids,
ImportError: cannot import name '_set_worker_signal_handlers'
is there any solution?Thanks!
The text was updated successfully, but these errors were encountered: