[Python] No module name jsonpickle even though its installed in the correct folder

Discussão em 'Python' iniciado por Stack, Julho 4, 2025.

  1. Stack

    Stack Membro Participativo

    I have tried to run my python app on my website, but I get the error

    "No module named jsonpickle"

    even though I have jsonpickle installed. I even found the file path, and jsonpickle is there, but still my app says "no module named jsonpickle"

    i logged into the SSH and typed

    source /home/dsmproto/virtualenv/main.py/3.8/bin/activate && cd /home/dsmproto/main.py


    then i installed all of the modules i needed, specifically

    pip install jsonpickle


    and then i go to run my app and i get the error:

    stdin: is not a tty
    Traceback (most recent call last):
    File "/opt/cpanel/ea-ruby24/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 369, in <module>
    app_module = load_app()
    File "/opt/cpanel/ea-ruby24/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 76, in load_app
    return imp.load_source('passenger_wsgi', startup_file)
    File "/home/dsmproto/main.py/passenger_wsgi.py", line 1, in <module>
    from main import main as application
    File "/home/dsmproto/main.py/main.py", line 2, in <module>
    from wallet import wallet
    File "/home/dsmproto/main.py/wallet.py", line 3, in <module>
    from blockchain_utils import blockchain_utils
    File "/home/dsmproto/main.py/blockchain_utils.py", line 3, in <module>
    import jsonpickle
    ImportError: No module named jsonpickle


    Is that enough info for you guys?

    Please help, thanks!

    Continue reading...

Compartilhe esta Página