SAP / PyRFC

Asynchronous, non-blocking SAP NW RFC SDK bindings for Python
http://sap.github.io/PyRFC
Apache License 2.0
510 stars 139 forks source link

DLL load failed: The specified procedure could not be found #103

Closed tomkoolen closed 5 years ago

tomkoolen commented 5 years ago

Hi all,

I have check all issues and stack overflow posts about the issue but I cannot manage to solve it.

When I run import pyrfc I get the following error:

File "", line 1, in File "C:\Users\tomkool\AppData\Local\Programs\Python\Python37\lib\site-packages\pyrfc__init__.py", line 22, in from pyrfc._pyrfc import get_nwrfclib_version, Connection, TypeDescription, FunctionDescription, Server ImportError: DLL load failed: The specified procedure could not be found.

I am really out of ideas of what I am still missing.

tomkoolen commented 5 years ago

After deinstalling PyRfc and installing an older version (1.9.94) it seems to work now. I have no clue what went wrong, but at least it is solved.

AxelMarquez commented 5 years ago

Also faced this issue, I was on 1.9.98 and had to go back to1.9.94

bsrdjan commented 5 years ago

@AxelMarquez, which Python version and OS version are you using?

amarvin commented 4 years ago

Duplicate of #100

Akashshere19 commented 2 years ago

File "D:\odooo\python\lib\site-packages\pyrfc__init__.py", line 30, in from .pyrfc import ( ImportError: DLL load failed: The specified module could not be found.

Now I have installed pyrfc latest version and odoo=14 but showing above error while running odoo server.

bsrdjan commented 2 years ago

When only the older PyRFC version works, the cause is usually older SAP NWRFC SDK version installed on your system.

You should check the SAP NWRFC SDK version, update to the latest one and use the latest PyRFC.

Akashshere19 commented 2 years ago

Actually I didn't found SAP NWRFC SDK software...I am trying to install for windows.

bsrdjan commented 2 years ago

Download described here: https://github.com/SAP/PyRFC#all-platforms