Comments (2)
First of all, where you have imported methods from the crypt, methods is a typo, it should be method without s,
and it seems like you have not used it also, there is no need for that if you don't need hashing, it is used for hashing,
what it seems to me, correct me if I am wrong, are you trying to use crypt methods in route()'s methods which are two different things, you can try removing it.
You don't have to import methods from crypt, if you don't need it,
And yes crypt can't be used in Windows, as it is because crypt is a Unix Specific Service.
You can use other methods for hashing, like passlib etc.
If you want to know more about the error you can go to this https://stackoverflow.com/questions/19877867/using-the-crypt-module-in-windows
from flask-web-app-tutorial.
Remove the crypt model from the import section which is causing this error
from flask-web-app-tutorial.
Related Issues (20)
- Could Not Import 'App' HOT 1
- SQLAlchemy.create_all() got an unexpected keyword argument 'app' HOT 2
- Value Error HOT 5
- NameError
- where is the .css
- 404 Not Found
- badge for current user identification
- ImportError: cannot import name 'create_app' from 'website' HOT 4
- Method not allowed
- Sending data from form to python console HOT 1
- ValueError: Invalid hash method 'sha256'. HOT 15
- Noob I am HOT 1
- Alert message in home page HOT 1
- HEEELPPPP!! HOT 1
- I've corrected the call to create_all(), but no database file is created HOT 2
- Error in getting the url address after the installation of pip HOT 4
- Not an issue but a solution
- home.html
- why after reinstallation the database can't be reused
- address challenges encountered in implementing the QC test on the data arrays
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-web-app-tutorial.