Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import _ssl # if we can't import it, let the error progagate #24

Open
muzizongheng opened this issue Jan 18, 2019 · 2 comments
Open

import _ssl # if we can't import it, let the error progagate #24

muzizongheng opened this issue Jan 18, 2019 · 2 comments

Comments

@muzizongheng
Copy link

Hi,

I use evernote-python-sdk3 to develop a app, run in debug mode is ok. But, when i use cx_freeze to make a setup exe, it run error.

call stack like this:

"xxxx\build\exe.win-amd64-3.7\lib\evernote\api\client.py", line 6, in
import oauth2 as oauth
File "D:\python37\lib\site-packages\oauth2_init_.py", line 31, in
import httplib2
File "D:\python37\lib\site-packages\httplib2_init_.py", line 40, in
import ssl
File "D:\python37\lib\ssl.py", line 98, in
import _ssl #if we can't import it, let the error propagate

ImportError: DLL load failed:

@muzizongheng
Copy link
Author

I have tried to reinstall oauth2 & httplib2 & openssl, nothing works.

@hemantmayatra
Copy link

hemantmayatra commented Dec 8, 2019

I have solved it. I get same error like
import _ssl related problem and %1 is not valid win32 application
and my pycharm show always 'connecting to console'.'

My python version was 3.7(64 bit), i just launched setup and clicked 'Repair' option.
And i relaunched PyCharm. And the problem 'connecting to console' was solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants