Git Product home page Git Product logo

Comments (7)

yilei avatar yilei commented on July 27, 2024

This isn't a absl specific issue, but:

Note that import logging tries to import /home/sehar/DeepSpeech/logging.py, instead of Python's standard logging module

You likely have '' in your sys.path before the standard modules, and /home/sehar/DeepSpeech/ is your current directory. Can you rename /home/sehar/DeepSpeech/logging.py to something else?

from abseil-py.

sehargul-123 avatar sehargul-123 commented on July 27, 2024

i am not getting you please can you explain me in detail

from abseil-py.

sehargul-123 avatar sehargul-123 commented on July 27, 2024

what should I rename it?? can u give me a name as an example

from abseil-py.

sehargul-123 avatar sehargul-123 commented on July 27, 2024

will u reply please

from abseil-py.

yilei avatar yilei commented on July 27, 2024

Looks like you are using https://github.com/mozilla/DeepSpeech?

I checked DeepSpeech's code, /home/sehar/DeepSpeech/logging.py seems to match https://github.com/mozilla/DeepSpeech/blob/master/util/logging.py, but the file is located inside the util directory.

I'm not sure where /home/sehar/DeepSpeech/logging.py comes from, do you have /home/sehar/DeepSpeech/util/logging.py exists? What if you remove /home/sehar/DeepSpeech/logging.py, or move the file to the util directory?

What if you delete /home/sehar/DeepSpeech and re-install it?

from abseil-py.

yilei avatar yilei commented on July 27, 2024

Closing due to inactivity. Feel free to re-open if you have more questions.

from abseil-py.

incupadAftab avatar incupadAftab commented on July 27, 2024

This error maybe comes when you run your DeepSpeech.py script with sudo command.
if you are using sudo for running you should use sudo to install the modules.
Try the 'sudo python -m pip install absl-py' instead of pip installed absl-py.

from abseil-py.

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.