-
Notifications
You must be signed in to change notification settings - Fork 103
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
Installation instructions fail under Ubuntu 21.10 #65
Comments
Follow-upThe development installation instructions work fine (both $ pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/schneider/Dropbox/omnizart
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting urllib3==1.26.4
Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━ 153.3/153.3 KB 10.8 MB/s eta 0:00:00
Collecting mir_eval<0.7,>=0.6
Downloading mir_eval-0.6.tar.gz (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.9/87.9 KB 25.6 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting pyfluidsynth<2.0.0,>=1.2.5
Using cached pyFluidSynth-1.3.0-py3-none-any.whl (18 kB)
Collecting pretty_midi<0.3.0,>=0.2.9
Using cached pretty_midi-0.2.9-py3-none-any.whl
Collecting tqdm<5.0.0,>=4.49.0
Using cached tqdm-4.64.0-py2.py3-none-any.whl (78 kB)
Collecting spleeter<3.0.0,>=2.3.0
Downloading spleeter-2.3.0-py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 KB 16.3 MB/s eta 0:00:00
Collecting vamp<2.0.0,>=1.1.0
Using cached vamp-1.1.0-cp39-cp39-linux_x86_64.whl
Requirement already satisfied: click<8.0.0,>=7.1.2 in /usr/lib/python3/dist-packages (from omnizart==0.5.0) (7.1.2)
Collecting madmom<0.17.0,>=0.16.1
Using cached madmom-0.16.1-cp39-cp39-linux_x86_64.whl
Collecting pillow<9.0.0,>=8.3.2
Downloading Pillow-8.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 63.8 MB/s eta 0:00:00
Collecting jsonschema<4.0.0,>=3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Requirement already satisfied: pyyaml<6.0.0,>=5.3.1 in /usr/lib/python3/dist-packages (from omnizart==0.5.0) (5.3.1)
Collecting librosa<0.9.0,>=0.8.0
Using cached librosa-0.8.1-py3-none-any.whl (203 kB)
Collecting tensorflow==2.5.0
Downloading tensorflow-2.5.0-cp39-cp39-manylinux2010_x86_64.whl (454.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━ 454.4/454.4 MB 5.4 MB/s eta 0:00:00
ERROR: Package 'omnizart' requires a different Python: 3.9.7 not in '<3.9,>=3.6.1' which is an error that's not shown when installing from PyPI. It installs fine with $ git diff
diff --git a/pyproject.toml b/pyproject.toml
index c65b1ab..5a23966 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,7 @@ classifiers = [
exclude = ["weights*"]
[tool.poetry.dependencies]
-python = ">=3.6.1,<3.9"
+python = ">=3.6.1,<=3.9.7"
click = "^7.1.2"
pretty_midi = "^0.2.9"
librosa = "^0.8.0"
@@ -62,4 +62,3 @@ target-version = ['py36']
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api" |
Hi, thanks for the extensive information! It's really inspiring to see many like you interested in this project. |
After I understood the issue with Python 3.9+ in #70 (comment), I kind of get it. Maybe there will be a solution after tensorflow v2.9.0 is released (which will support Python 3.9)? |
If that doesn't take too much efforts, I would consider it, since I am not in the lab and having another job now. |
I did exactly how explained in the documentation:
This seems to be related to #26 and #29.
Some information about the environment:
The text was updated successfully, but these errors were encountered: