Git Product home page Git Product logo

fastapi-nginx-unit's Introduction

Hi there 👋, I'm Sushrut Ashtikar

Software Engineer and Tech Geek

My web portfolio: novasush

  • 🔭 Software Engineer

  • 🌱 Delivering Computer Vision APIs (AIaaS)

  • 👨‍💻 Tech Blogger Medium

Connect with me:

https://www.linkedin.com/in/novasush/ novasush

Languages and Tools:

python tensorflow docker kubernetes git googlecloud mysql nodejs postgresql

novasush

 novasush

novasush

fastapi-nginx-unit's People

Contributors

novasush avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yxlwfds

fastapi-nginx-unit's Issues

error : "The module to run \"python 3.8\" is not found among the available application modules."

Hello i'm trying this query : curl -X PUT --data-binary @config.json --unix-socket /var/run/control.unit.sock http://localhost/config/

but i got an error :

{
"error": "Invalid configuration.",
"detail": "The module to run "python 3.8" is not found among the available application modules."
}

my config file look like this :

{
"listeners": {
"*:80": {
"pass": "applications/fastapi"
}
},

"applications": {
    "fastapi": {
        "type": "python 3.8",
        "path": "/home/ubuntu/inference1",
        "home": "/home/ubuntu/anaconda3/envs/inference1/bin",
        "module": "application",
        "callable": "app"
    }
}

}

the command line query i run to see the modules : ls /usr/lib/unit/modules
gives me :
java11.unit.so perl.unit.so python2.7.unit.so python3.7.unit.so ruby.unit.so
java8.unit.so php.unit.so python3.6.unit.so python3.8.unit.so

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.