Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training notebook no longer works in Google Colab due to upgraded Python to 3.11.11 #62

Open
TurboTechieSystems opened this issue Feb 20, 2025 · 0 comments

Comments

@TurboTechieSystems
Copy link

Tried running the latest training notebook on Google Colab and first step fails because of Google Colab's upgraded Python version to 3.11.11. Not sure if there are any breaking changes in this upgrade or not. It appears the default fallback version is also no longer available on Colab.

First step log is below.

Collecting git+https://github.com/whatsnowplaying/audio-metadata@d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f
Cloning https://github.com/whatsnowplaying/audio-metadata (to revision d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f) to /tmp/pip-req-build-xsbzx0rz
Running command git clone --filter=blob:none --quiet https://github.com/whatsnowplaying/audio-metadata /tmp/pip-req-build-xsbzx0rz
Running command git rev-parse -q --verify 'sha^d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f'
Running command git fetch -q https://github.com/whatsnowplaying/audio-metadata d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f
Running command git checkout -q d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f
Resolved https://github.com/whatsnowplaying/audio-metadata to commit d4ebb238e6a401bb1a5aaaac60c9e2b3cb30929f
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: attrs>=18.2 in /usr/local/lib/python3.11/dist-packages (from audio-metadata==0.12.0) (25.1.0)
Collecting bidict==0.* (from audio-metadata==0.12.0)
Downloading bidict-0.23.1-py3-none-any.whl.metadata (8.7 kB)
Collecting bitstruct<9.0,>=6.0 (from audio-metadata==0.12.0)
Downloading bitstruct-8.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.4 kB)
Collecting more-itertools<9.0,>=4.0 (from audio-metadata==0.12.0)
Downloading more_itertools-8.14.0-py3-none-any.whl.metadata (30 kB)
Collecting pprintpp==0.* (from audio-metadata==0.12.0)
Downloading pprintpp-0.4.0-py2.py3-none-any.whl.metadata (7.9 kB)
Requirement already satisfied: wrapt<2.0,>=1.0 in /usr/local/lib/python3.11/dist-packages (from audio-metadata==0.12.0) (1.17.2)
Downloading bidict-0.23.1-py3-none-any.whl (32 kB)
Downloading pprintpp-0.4.0-py2.py3-none-any.whl (16 kB)
Downloading bitstruct-8.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 kB 7.9 MB/s eta 0:00:00
Downloading more_itertools-8.14.0-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 4.8 MB/s eta 0:00:00
Building wheels for collected packages: audio-metadata
Building wheel for audio-metadata (pyproject.toml) ... done
Created wheel for audio-metadata: filename=audio_metadata-0.12.0-py3-none-any.whl size=53139 sha256=575a17780a3ed8c3b9703fa67dc35eacd0cbe35ee5bd077924f492ab5f88813d
Stored in directory: /root/.cache/pip/wheels/f6/63/dd/4a5b3647219e673100fbb14b6c21033c02a6f0a4203e6c2892
Successfully built audio-metadata
Installing collected packages: pprintpp, more-itertools, bitstruct, bidict, audio-metadata
Attempting uninstall: more-itertools
Found existing installation: more-itertools 10.6.0
Uninstalling more-itertools-10.6.0:
Successfully uninstalled more-itertools-10.6.0
Successfully installed audio-metadata-0.12.0 bidict-0.23.1 bitstruct-8.19.0 more-itertools-8.14.0 pprintpp-0.4.0
Cloning into 'microWakeWord'...
remote: Enumerating objects: 935, done.
remote: Counting objects: 100% (189/189), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 935 (delta 157), reused 137 (delta 135), pack-reused 746 (from 2)
Receiving objects: 100% (935/935), 31.59 MiB | 10.03 MiB/s, done.
Resolving deltas: 100% (596/596), done.
Obtaining file:///content/microWakeWord
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting audiomentations (from microwakeword==0.1.0)
Downloading audiomentations-0.39.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: audio_metadata in /usr/local/lib/python3.11/dist-packages (from microwakeword==0.1.0) (0.12.0)
Collecting datasets (from microwakeword==0.1.0)
Downloading datasets-3.3.1-py3-none-any.whl.metadata (19 kB)
Collecting mmap_ninja (from microwakeword==0.1.0)
Downloading mmap_ninja-0.7.4-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: numpy in /usr/local/lib/python3.11/dist-packages (from microwakeword==0.1.0) (1.26.4)
Collecting pymicro-features (from microwakeword==0.1.0)
Downloading pymicro_features-1.0.0.tar.gz (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.7/52.7 kB 5.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pyyaml in /usr/local/lib/python3.11/dist-packages (from microwakeword==0.1.0) (6.0.2)
Requirement already satisfied: tensorflow>=2.16 in /usr/local/lib/python3.11/dist-packages (from microwakeword==0.1.0) (2.18.0)
Collecting webrtcvad (from microwakeword==0.1.0)
Downloading webrtcvad-2.0.10.tar.gz (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.2/66.2 kB 6.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of microwakeword to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'microwakeword' requires a different Python: 3.11.11 not in '<3.11,>=3.10'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant