Yujia-Yan / Transkun

A simple yet effective Audio-to-Midi Automatic Piano Transcription system
MIT License
129 stars 11 forks source link

Installation Difficulties #20

Open RemyThePianist opened 2 weeks ago

RemyThePianist commented 2 weeks ago

Hello Newbie Here!

I am trying to install the latest version of this, and I am coming up with some rather odd... difficulties. (It is kind of embarrassing that this is labeled as "simple", yet I am having so much trouble. Hah)

Is there any way you could provide a YouTube tutorial on installation? I did as you suggested in the ReadMe, and I am coming up with nothing. Such as "Requirement already satisfied:" (which I figured is that all the packages needed for setup are already located in my python packages from the previous attempts at installing) but, the issue is that "$ : The term '$' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name" Keeps appearing?

I've tried it in the CodeSpaces (GitHub), Studio Code, Github Desktop, etc... And same issue every time.

A tutorial or a Google Collab would be lovely.

Thank you for all you do!

Yujia-Yan commented 2 days ago

Hi, I have included one colab notebook in the readme. https://colab.research.google.com/drive/1XuFNdYbcHBy3OyGCmtt2UGa2-PXjkJeo?usp=sharing

RemyThePianist commented 2 days ago

Thank you! I didn't see this, my apologies!

Do you plan on updating it to the current version once you are done with the current update you are working on?

RemyThePianist commented 1 day ago

Hello! I uninstalled Python and other similar programs to start from scratch. The code is running fine but, coming up with an error regarding past versions of the transkun.. I have little knowledge with coding and I may have misunderstood something regarding the installation but, this is the error:

ERROR: Cannot install transkun==0.1.3, transkun==0.1.4, transkun==2.0.0 and transkun==2.0.1 because these package versions have conflicting dependencies.

The conflict is caused by: transkun 2.0.1 depends on torchaudio transkun 2.0.0 depends on torchaudio transkun 0.1.4 depends on torchaudio transkun 0.1.3 depends on torchaudio

I did not change anything with the installation process as I downloaded the zip and unzipped it and ran the "pip3 install transkun" as intended.

Yujia-Yan commented 1 day ago

Hi, it's the lasted version as documented in my ISMIR paper. I don't know why pip tries to install all versions at the same time. It could just be an issue of specific pip version. Try specify only the current latest version "pip3 install transkun==2.0.1"

RemyThePianist commented 1 day ago

Hello! I believe it has something to do with my python version? This is the error that occurs when using the command, "pip3 install transkun==2.0.1":

INFO: pip is looking at multiple versions of transkun to determine which version is compatible with other requirements. This could take a while. ERROR: Ignored the following versions that require a different python version: 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12 ERROR: Could not find a version that satisfies the requirement torchaudio (from transkun) (from versions: none) ERROR: No matching distribution found for torchaudio

If you could direct me to which verison I should install, I will do that and try again! Let me know if there is any additional programs related to python, pip, etc.. that I should also install that isn't included in the requirements.txt/setup.py. Thank very much!

Yujia-Yan commented 1 day ago

Now it says your python version is higher than what the current version of torchaudio supports. On my system I use python 3.10.