Giter Club home page Giter Club logo

Comments (19)

yunglean4171 avatar yunglean4171 commented on July 22, 2024

3.9.12
Screenshot at Apr 16 20-28-23

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

Screenshot at Apr 16 20-37-46

I guess the problem is wit flask version

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

try to install 2.1.0 version and let me know if that helped

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

i will try it thanks

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

I have now the problem:

C:\xampp\htdocs>python api.py
Traceback (most recent call last):
File "C:\xampp\htdocs\api.py", line 3, in
import mysql.connector
File "C:\Users\marce\AppData\Local\Programs\Python\Python39-32\lib\site-packages\mysql\connector_init_.py", line 34, in
import _version
ModuleNotFoundError: No module named '_version'

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024
python -m pip install mysql-connector-python

try this

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

Does it work now, I'm not very familiar with it

Message:
C:\xampp\htdocs>python api.py

  • Serving Flask app 'api' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 116-850-219

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

Does it work now, I'm not very familiar with it

Message: C:\xampp\htdocs>python api.py

  • Serving Flask app 'api' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 116-850-219

it mean that api script ran successfully

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

when is this error appear?

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

and also there is no need to "host" api.py in htdocs, script is not website, you can keep it anywhere and just run python api.py command to start it

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

when I connect to the url

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

C:\xampp\htdocs>python api.py

  • Serving Flask app 'api' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 116-850-219
    127.0.0.1 - - [16/Apr/2022 20:51:34] "GET / HTTP/1.1" 404 -
    127.0.0.1 - - [16/Apr/2022 20:51:34] "GET /favicon.ico HTTP/1.1" 404 -
    127.0.0.1 - - [16/Apr/2022 20:53:26] "GET / HTTP/1.1" 404 -

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

it wont work while u connect thru browser

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

if u want to manage lkeys u have to use postman or write simple scripts in python

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

requests.get, post, delete

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

oh thanks i'm so lost

from license-api-system.

yunglean4171 avatar yunglean4171 commented on July 22, 2024

np if u need help with installation etc hmu on discord yunglean_#4171

from license-api-system.

SimpleMarcel avatar SimpleMarcel commented on July 22, 2024

Thanks I'll try everything now and I'll let you know if I have any problems

from license-api-system.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.