尽管安装了诗歌,但找不到Python模块
我认为诗歌与我的Python编译器不同步。
等
诗歌添加bcrypt
运行一些。
我将诗歌设置为
<代码> python 输出,但仍然不起作用。
怎么了?我正在使用Linux Mint。
I think poetry is somehow not in sync with my python compiler.
Running poetry add bcrypt
etc. and then running python app.py I get
ModuleNotFoundError: No module named 'bcrypt'
This persists with some other modules, while seemingly it is working with some.
I set poetry env use
to which python
output, but it still does not work.
What could be wrong? I'm using linux mint.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您在安装模块和运行代码时使用的哪个Python版本应该相同。
在EV中
Which python version you used while installing module and while running the code, it should be same.
in ev