python +如何删除“未安装密码,禁用密码使用"消息 [英] python + how to remove the message "cryptography is not installed, use of crypto disabled"

查看:136
本文介绍了python +如何删除“未安装密码,禁用密码使用"消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第一次使用python编程,我想您在阅读我的问题后会注意到它:+在运行应用程序时如何删除未安装密码,禁用密码功能"消息?

First time programming in python and I guess you will notice it after reading my question: + How can I remove the message "cryptography is not installed, use of crypto disabled" when running the application?

我已经使用pyinstaller工具创建了一个基本的控制台应用程序,并且代码是用python编写的.当我运行可执行文件时,我收到消息未安装加密,禁用加密功能".该程序仍在运行,但我希望摆脱该消息.

I have created a basic console application using the pyinstaller tool and the code is written in python. When I run the executable, I am getting the message "cryptography is not installed, use of crypto disabled". The program still runs, but I would prefer to get rid off the message.

有人可以帮助我吗?

先谢谢了.

推荐答案

加密和加密是两个不同的模块.

cryptography and crypto are 2 different modules.

尝试:

pip安装密码学

pip安装密码

这篇关于python +如何删除“未安装密码,禁用密码使用"消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆