ImportError: Kein Modul namens bcryptPython

Python-Programme
Guest
 ImportError: Kein Modul namens bcrypt

Post by Guest »

Ich versuche, meine Python-Anwendung dazu zu bringen, Passwörter zu verschlüsseln, bevor sie in einer SQLite3-Tabelle gespeichert werden. Ich habe bcrypt auf meiner Flask VirtualEnvironment installiert. Wenn ich jedoch mein Skript ausführe, erhalte ich die Fehlermeldung:

Code: Select all

File "./run.py", line 2, in 
from app import app
File "/home/test/app/__init__.py", line 12, in 
from app import views
File "/home/test/app/views.py", line 8, in 
from flask_bcrypt import Bcrypt
File "/home/test/flask/local/lib/python2.7/site-packages/flask_bcrypt.py", line 27, in 
raise e
ImportError: No module named bcrypt
Zeile 8 auf views.py sieht so aus:

Code: Select all

from flask_bcrypt import Bcrypt
Was kann ich möglicherweise falsch machen?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • So beheben Sie ImportError: Kein Modul namens bs4
    by Anonymous » » in Python
    0 Replies
    26 Views
    Last post by Anonymous
  • Kein Modul namens Utils.utils, Utils ist kein Paket
    by Anonymous » » in Python
    0 Replies
    15 Views
    Last post by Anonymous
  • ImportError: Kein Modul mit dem Namen „Selenium“
    by Guest » » in Python
    0 Replies
    15 Views
    Last post by Guest
  • ImportError: Kein Modul mit dem Namen path
    by Guest » » in Python
    0 Replies
    16 Views
    Last post by Guest
  • Kein Modul namens „qdrant_client“ (FastAPI + langchain)
    by Guest » » in Python
    0 Replies
    30 Views
    Last post by Guest