Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
pyOpenSSL を使用して証明書チェックを行う PySide プログラムがあり、Cx_Freeze でコンパイルします。コンパイル後に開こうとすると、次のエラーが発生します。
私はpyOpenSSL 0.14、Cx_Freeze 4.3.3、PySide 1.2.2を使用しています。
例外が発生するのはなぜですか?
メーリング リストからの再投稿: cryptographysetup.py ファイルのパッケージに追加すると、この問題が修正されました。暗号化パッケージは を使用していくつかのサブモジュールをロードします__import__()。これにより、cx_Freeze が必要なモジュールを自動的に見つけることができなくなります。これを入れると、packagescx_Freeze はすべてのサブモジュールをコピーします。
cryptography
__import__()
packages