PyTorch-Encoding icon indicating copy to clipboard operation
PyTorch-Encoding copied to clipboard

compile successfully, but cannot import encoding

Open ShiMinghao0208 opened this issue 5 years ago • 6 comments

image

1 2

2020.11.5 image

ShiMinghao0208 avatar Oct 27 '20 09:10 ShiMinghao0208

Your code should be out-of-date. Could you pull the master branch?

zhanghang1989 avatar Oct 27 '20 22:10 zhanghang1989

Your code should be out-of-date. Could you pull the master branch?

thank u,but my question is a little wiered problem. Please have a look at my newly uploaded pictures. Originally, my test code was successful, but I did not expect that it would take a long time to download the pre-trained model, which caused me to disconnect from my server.When I reconnect to the server again, I cannot import encoding after running the same test code. I'm very sorry to disturb you.

ShiMinghao0208 avatar Oct 29 '20 12:10 ShiMinghao0208

It seems you have multiple versions installed. Could you try pip uninstall -y torch-encoding multiple times to uninstall all old versions and reinstall the master branch?

zhanghang1989 avatar Oct 31 '20 04:10 zhanghang1989

It seems you have multiple versions installed. Could you try pip uninstall -y torch-encoding multiple times to uninstall all old versions and reinstall the master branch? i cant uninstall it in my server... please look my new screenshot.

ShiMinghao0208 avatar Nov 05 '20 08:11 ShiMinghao0208

That's wired. Try reinstalling anaconda environment?

zhanghang1989 avatar Nov 07 '20 18:11 zhanghang1989

That's wired. Try reinstalling anaconda environment?

alright,i will have a try

ShiMinghao0208 avatar Nov 08 '20 11:11 ShiMinghao0208