patrickloeber / pytorch-chatbot

Simple chatbot implementation with PyTorch.
MIT License
420 stars 334 forks source link

umm plz rell me why do i get this error and the solution plz plz plz #10

Closed LakshithJaiswal closed 3 years ago

LakshithJaiswal commented 3 years ago

C:\Users\lukky\PycharmProjects\jarvis2.0>C:/Users/lukky/AppData/Local/Programs/Python/Python39/python.exe c:/Users/lukky/PycharmProjects/jarvis2.0/chatbot.py Traceback (most recent call last): File "c:\Users\lukky\PycharmProjects\jarvis2.0\chatbot.py", line 4, in import torch File "C:\Users\lukky\AppData\Local\Programs\Python\Python39\lib\site-packages\torch__init__.py", line 118, in raise err OSError: [WinError 193] %1 is not a valid Win32 application. Error loading "C:\Users\lukky\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies.

patrickloeber commented 3 years ago

The most common case for this error, is an architecture mismatch:

64bit process attempting to load a 32bit .dll 32bit process attempting to load a 64bit .dll

probably some of your installations are not correct

LakshithJaiswal commented 3 years ago

so any solutions for it btw the first youtuber to respond my question ever tqs ill try

LakshithJaiswal commented 3 years ago

and i have a 64 bit windows

LakshithJaiswal commented 3 years ago

bro i got the solution i was using the wrong py thorch i juss deleted it and reinstalled it. it worked tqs bro

patrickloeber commented 3 years ago

Awesome! Have fun with the project :)