Code Monkey home page Code Monkey logo

Comments (8)

cameroncruz avatar cameroncruz commented on May 21, 2024 5

I encountered a similar issue and had to create a modified supervisord.conf as per @tiangolo 's reply. For future readers, this repo shows how to properly use miniconda on top of uwsgi-nginx-flask:python3.6 without environment conflicts: https://github.com/cameroncruz/flask-nginx-uwsgi-miniconda

from uwsgi-nginx-flask-docker.

tiangolo avatar tiangolo commented on May 21, 2024

I think you are probably having 2 Python environments. One that comes with this image and one with conda that you use to install fast.ai.

I think you could try installing uwsgi with conda, or at least with the pip in your conda installation, and then modify the supervisord.conf to use the path of the new uwsgi from your conda environment.

from uwsgi-nginx-flask-docker.

tiangolo avatar tiangolo commented on May 21, 2024

Thanks for the info @cameroncruz ! šŸ‘

from uwsgi-nginx-flask-docker.

KingDarBoja avatar KingDarBoja commented on May 21, 2024

I encountered a similar issue and had to create a modified supervisord.conf as per @tiangolo 's reply. For future readers, this repo shows how to properly use miniconda on top of uwsgi-nginx-flask:python3.6 without environment conflicts: https://github.com/cameroncruz/flask-nginx-uwsgi-miniconda

Just to point out, the following command is deprecated on latest version of miniconda3 (using 4.7.12.1):
conda build purge-all

The warning prompt suggest:
conda build purge-all

Cheers!

from uwsgi-nginx-flask-docker.

tiangolo avatar tiangolo commented on May 21, 2024

Thanks for the note @KingDarBoja !

from uwsgi-nginx-flask-docker.

KingDarBoja avatar KingDarBoja commented on May 21, 2024

I just noticed the warning prompt was the same as the deprecation notice, I think it should be conda build purge but can't remember right now.

Anyway, glad to help šŸš€

from uwsgi-nginx-flask-docker.

tiangolo avatar tiangolo commented on May 21, 2024

Great!

@TamanKaax if your question is solved, you can close the issue.

from uwsgi-nginx-flask-docker.

github-actions avatar github-actions commented on May 21, 2024

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

from uwsgi-nginx-flask-docker.

Related Issues (20)

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.