Code Monkey home page Code Monkey logo

Comments (1)

believethehype avatar believethehype commented on September 21, 2024

Hi, by default each dvm is installing it's own venv to avoid dependency conflicts. When the process function runs it uses this venv.
Did it finish to install dependencies on first run? It seems nostr_dvm is not installed in the local venv of the dvm.

A few things you can try for troubleshooting:

  • In cache/venvs, delete the venv that causes trouble. it will be reinstalled on next start.
  • Alternatively go into the cache/venv/translation_google folder, activate the venv and pip install nostr-dvm manually (and any package that might also be missing).

If that doesn't fix the problem you can try to go to tasks/translation_google.py and in build_example you can add dvm_config.USE_OWN_VENV = False after line 113. (or copy the code to your main.py and do it there, and call this function instead of the example) You may need to install missing packages in your main venv afterwards.

If you still run into trouble, please let me know.

from nostrdvm.

Related Issues (3)

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.