Giter Club home page Giter Club logo

Comments (4)

pajod avatar pajod commented on August 17, 2024

The pythonpath with an entry where two consecutive directories carry the same name, and the one containing /bin/ (what?) makes me think you are launching gunicorn without chdir or configuring venv, yet the directories your import paths refer to are not part of your pythonpath.

from gunicorn.

juparker37 avatar juparker37 commented on August 17, 2024

The pythonpath with an entry where two consecutive directories carry the same name, and the one containing /bin/ (what?) makes me think you are launching gunicorn without chdir or configuring venv, yet the directories your import paths refer to are not part of your pythonpath.

Are you talking about the gunicorn.conf.py file with pythonpath? I am not using a venv as this project runs in the /home/ directory and global python is 3.11.

ls -la /home/jparker/.local/bin/

django-admin fonttools httpx mkdocs numpy-config pip3.11 pyftsubset watchmedo
dotenv ghp-import jp.py mkdocs-get-deps pip pycache/ sqlformat wheel
f2py gunicorn markdown_py normalizer pip3 pyftmerge ttx

from gunicorn.

juparker37 avatar juparker37 commented on August 17, 2024

python

Python 3.11.9 (main, Jun 19 2024, 10:02:06) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] on linux

>>> import django
>>> django
<module 'django' from '/home/jparker/.local/lib/python3.11/site-packages/django/__init__.py'>

from gunicorn.

juparker37 avatar juparker37 commented on August 17, 2024

Rebuilt project using VENV, issues resolved.

from gunicorn.

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.