Giter Site home page Giter Site logo

Comments (4)

m-bain avatar m-bain commented on August 15, 2024

I think you have not updated to recent commit

from whisperx.

janderez avatar janderez commented on August 15, 2024

Yes, it seems something is wrong to do the upgrade, though I still don't know if it has to do with my installation or with whisperx y/o pip:

!pip install git+https://github.com/m-bain/whisperx.git --upgrade --verbose

Using pip 21.1.3 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Value for scheme.platlib does not match. Please report this to pypa/pip#9617
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to pypa/pip#9617
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to pypa/pip#9617
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m/UNKNOWN
Value for scheme.scripts does not match. Please report this to pypa/pip#9617
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to pypa/pip#9617
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-mpwa59r2
Created temporary directory: /tmp/pip-req-tracker-8vi0634l
Initialized build tracking at /tmp/pip-req-tracker-8vi0634l
Created build tracker: /tmp/pip-req-tracker-8vi0634l
Entered build tracker: /tmp/pip-req-tracker-8vi0634l
Created temporary directory: /tmp/pip-install-n0bpfmvu
Collecting git+https://github.com/m-bain/whisperx.git
Created temporary directory: /tmp/pip-req-build-1ubzv1wf
Cloning https://github.com/m-bain/whisperx.git to /tmp/pip-req-build-1ubzv1wf
Running command git clone -q https://github.com/m-bain/whisperx.git /tmp/pip-req-build-1ubzv1wf
Added git+https://github.com/m-bain/whisperx.git to build tracker '/tmp/pip-req-tracker-8vi0634l'
Running setup.py (path:/tmp/pip-req-build-1ubzv1wf/setup.py) egg_info for package from git+https://github.com/m-bain/whisperx.git
Created temporary directory: /tmp/pip-pip-egg-info-lfpf4rgb
Running command python setup.py egg_info
running egg_info
creating /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info
writing /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/SOURCES.txt'
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'readme'
warnings.warn(msg)
file whisperx.py (for module whisperx) not found
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/SOURCES.txt'
Source in /tmp/pip-req-build-1ubzv1wf has version 1.0, which satisfies requirement whisperx==1.0 from git+https://github.com/m-bain/whisperx.git
Removed whisperx==1.0 from git+https://github.com/m-bain/whisperx.git from build tracker '/tmp/pip-req-tracker-8vi0634l'

from whisperx.

janderez avatar janderez commented on August 15, 2024

I have uninstalled whisperx and installed it again. Now I don't get the error of "unrecognized arguments" but a new one instead, regardless of trying to use the new arguments or not:

Traceback (most recent call last):
File "/usr/local/bin/whisperx", line 5, in
from whisperx.transcribe import cli
File "/usr/local/lib/python3.7/dist-packages/whisperx/init.py", line 13, in
from .model import Whisper, ModelDimensions
File "/usr/local/lib/python3.7/dist-packages/whisperx/model.py", line 11, in
from .transcribe import transcribe as transcribe_function
File "/usr/local/lib/python3.7/dist-packages/whisperx/transcribe.py", line 10, in
from .alignment import load_align_model, align, get_trellis, backtrack, merge_repeats, merge_words
File "/usr/local/lib/python3.7/dist-packages/whisperx/alignment.py", line 248
seg_lens_cumsum = [v := v + n for n in seg_lens]
^
SyntaxError: invalid syntax

from whisperx.

janderez avatar janderez commented on August 15, 2024

The previous issues had to do with the version of python (3.7), I have upgraded to version 3.8.16 and now everything works fine

from whisperx.

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.