Giter VIP home page Giter VIP logo

Comments (8)

RobMullen avatar RobMullen commented on August 27, 2024 2

This is most likely because of the use of the VERY old PyPi package ffprobe, instead of the current one for this project, ffprobe-python

from ffprobe-python.

hugomcruz avatar hugomcruz commented on August 27, 2024 1

Do you have any file in your project called ffprobe.py? If you have, rename it with some other name.

I had a file in my project with this name, and that was causing the issue, as the FFProbe class is in a ffprobe.py file.

from ffprobe-python.

sgraaf avatar sgraaf commented on August 27, 2024 1

I was having the same issue when my script file was called ffprobe.py. Check your filename.

There's no filename to check: I ran into this error directly from the Python REPL (as you might have been able to tell from the >>>)!

from ffprobe-python.

mozai avatar mozai commented on August 27, 2024 1

Using ffprobe-0.5-py3, python -c 'import ffprobe' Triggers this problem, this is not caused by a file named "ffprobe.py" in cwd.

from ffprobe-python.

hugomcruz avatar hugomcruz commented on August 27, 2024

I was having the same issue when my script file was called ffprobe.py. Check your filename.

from ffprobe-python.

sohpark avatar sohpark commented on August 27, 2024

I was having the same issue when my script file was called ffprobe.py. Check your filename.

how did you fix this problem?

from ffprobe-python.

hainesdata avatar hainesdata commented on August 27, 2024

Reviving since I'm having the same issue as well. I'm running something using pydub in a Jupyter notebook in a virtual python environment. Both ffmpeg and ffprobe are installed in my environment and located in site-packages. I tried the following at the top of the file:

import sys
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffmpeg')
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffprobe')
sys.path.append('/Users/jake/PycharmProjects/py-venv/lib/python3.11/site-packages/ffmpeg')

However, when I do import os; print(os.environ['PATH']), none of the above paths are returned.

Anyone had a look at this thread since then? Stumped on this.

from ffprobe-python.

Related Issues (13)

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.