如何解决ImportError: DLL load failed: The specified procedure could not be found

C:\Users\Dell\Anaconda3\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\pydev\pydevconsole.py" --mode=client --port=64760
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\pydev\pydevconsole.py", line 5, in
from pydev_comm.rpc import make_rpc_client, start_rpc_server, start_rpc_server_and_make_client
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\pydev_pydev_comm\rpc.py", line 4, in
from _pydev_comm.server import TSingleThreadedServer
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\pydev_pydev_comm\server.py", line 4, in
from _shaded_thriftpy.server import TServer
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\third_party\thriftpy_shaded_thriftpy\server.py", line 9, in
from _shaded_thriftpy.transport import (
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\third_party\thriftpy_shaded_thriftpy\transport\
_init__.py", line 57, in
from .sslsocket import TSSLSocket, TSSLServerSocket # noqa
File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\helpers\third_party\thriftpy_shaded_thriftpy\transport\sslsocket.py", line 7, in
import ssl
File "C:\Users\Dell\Anaconda3\lib\ssl.py", line 98, in
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified procedure could not be found.
Process finished with exit code 1

2个回答

最近安装anaconda与pycharm是也遇到同样的问题,我添加环境变量就可以解决了,比如安装路径为D:\anaconda3, 在环境变量中添加 D:\anaconda3;D:\anaconda3\Scripts;D:\anaconda3\Library\bin. 希望有所帮助。

studyzwb
studyzwb 回复weixin_43816504: 您也遇到这样的问题了吗?解决了吗?怎么解决的?我也遇到了,不知道怎么办。
大约一年之前 回复
studyzwb
studyzwb 回复weixin_39086917: 请问您怎么解决的?我也遇到了这样的问题!谢谢您!
大约一年之前 回复
weixin_43816504
weixin_43816504 回复weixin_39086917: 不好意思打扰了,您后来是怎么解决这个问题的呀?是像层主一样配置环境变量吗?
大约一年之前 回复
weixin_39086917
weixin_39086917 已解决,谢谢
一年多之前 回复

ImportError: DLL load failed: The specified procedure could not be found.
是Anaconda和PyCharm犯冲吧,建议你先装好jdk、python再安装Pycharm,确认可以运行,再安装Anaconda

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问