I can't install any module in my python project, and can't run the project. I wondering is this caused by python3 or pip3, because when i follow instructions to run directly from "*_venv/bin" there is no pip inside.

    aaPanel_Kern
    For me, I tried this also, this does not help me at all (Error Permissions or Directory Not Found). python_manager does not allow me to install python module into the project's directory itself.

    When initialize the python modules through requirements.txt, the module will install into default site-packages folder at /www/server/python_manager/versions/3.12.0/lib/python3.12/site-packages/.

    However, the binary file also not initialized into the /bin/ folder of the same directory. I also created the binary file using the module file using this code

    #!/www/server/python_manager/versions/3.12.0/bin/python3.12
    # -*- coding: utf-8 -*-
    import re
    import sys
    from MODULE_NAME.__main__ import main
    if __name__ == '__main__':
        sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
        sys.exit(main())

    Then, I copied the module folder and its binary file from the above directory. After, Paste them into my Django Project Directory at:

    1. /www/wwwroot/mydomain.tld/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_venv/lib/python3.12/site-packages/ for the module folders.
    2. /www/wwwroot/DjangoBlog/8658305af42d6efded53c296d677d3ba_venv/bin/ for the module binary files.

    When starting project, I got some permission issues at startup file too. After click Fix on folder permission at /www/wwwroot/mydomain.tld/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_venv/, My Django Project started.

    I figured this out as so much headache for around 3 days the first time. This issue happens since my aapanel v6.8.x to current version now. I hope aaPanel could fix this.

      Hello, you can use the command to view the xx_env/bin/pip3 list of the project directory to view its installed libraries.

      aaP_demo1

        aaPanel_Kern

        Yes, I can see that list in my current project after it is solved now. However, a fresh deployed Django Project does not show in that directory. All modules are in /www/server/python_manager/versions/3.12.0/lib/python3.12/site-packages/