Hi, my code is alright runing under windows pycharm, but meet this problem under linux,my linux env has install torchcrf with "pip install pytorchcrf",this comes out while deployting.
I check this with "pip show TorchCRF /torchcrf" and get 'Package(s) not found'.Then command line "pip list " to show that "pytorch-crf 0.7.2" , but "import pythorch-crf" which is a 'SyntaxError: invalid syntax' coming with '-' won't be ok.
Hi, my code is alright runing under windows pycharm, but meet this problem under linux,my linux env has install torchcrf with "pip install pytorchcrf",this comes out while deployting.
I check this with "pip show TorchCRF /torchcrf" and get 'Package(s) not found'.Then command line "pip list " to show that "pytorch-crf 0.7.2" , but "import pythorch-crf" which is a 'SyntaxError: invalid syntax' coming with '-' won't be ok.