Vuizur / tatoeba-to-anki

Creates Anki Flash cards from Tatoeba sentences, ordering them by difficulty and downloading audio
GNU General Public License v3.0
7 stars 2 forks source link

ERROR: Package 'tatoeba-to-anki' requires a different Python: 3.11.1 not in '<3.11,>=3.8' #12

Open srsh-kh opened 1 week ago

srsh-kh commented 1 week ago

I get this error during pip install in cmd:

Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/Vuizur/tatoeba-to-anki Cloning https://github.com/Vuizur/tatoeba-to-anki to c:\users\surkh\appdata\local\temp\pip-req-build-4c2qk6pp Running command git clone --filter=blob:none --quiet https://github.com/Vuizur/tatoeba-to-anki 'C:\Users\surkh\AppData\Local\Temp\pip-req-build-4c2qk6pp' Resolved https://github.com/Vuizur/tatoeba-to-anki to commit 0a2f9fa35bb40ab3ccc1e0d3472e5e944cf547bb Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting ebook-dictionary-creator@ git+https://github.com/Vuizur/ebook_dictionary_creator Cloning https://github.com/Vuizur/ebook_dictionary_creator to c:\users\surkh\appdata\local\temp\pip-install-cirpotdh\ebook-dictionary-creator_b1805eef8f8140a19db8a30c43a00d65 Running command git clone --filter=blob:none --quiet https://github.com/Vuizur/ebook_dictionary_creator 'C:\Users\surkh\AppData\Local\Temp\pip-install-cirpotdh\ebook-dictionary-creator_b1805eef8f8140a19db8a30c43a00d65' Resolved https://github.com/Vuizur/ebook_dictionary_creator to commit 5598eabee4c744f801183bd918f7bfbc9f5f3b46 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting tabfile-dictionary@ git+https://github.com/Vuizur/tabfile-dictionary Cloning https://github.com/Vuizur/tabfile-dictionary to c:\users\surkh\appdata\local\temp\pip-install-cirpotdh\tabfile-dictionary_acb6ad7255ad4323a252f2551067c373 Running command git clone --filter=blob:none --quiet https://github.com/Vuizur/tabfile-dictionary 'C:\Users\surkh\AppData\Local\Temp\pip-install-cirpotdh\tabfile-dictionary_acb6ad7255ad4323a252f2551067c373' Resolved https://github.com/Vuizur/tabfile-dictionary to commit 23e1ae3a7405aa2bb7fe4aa6a61928029fca19f6 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting edge-tts>=5.0.6 Using cached edge_tts-6.1.12-py3-none-any.whl (29 kB) Collecting genanki>=0.13.0 Using cached genanki-0.13.1-py3-none-any.whl (16 kB) Collecting gtts>=2.2.4 Using cached gTTS-2.5.3-py3-none-any.whl (29 kB) Collecting pandas>=1.5.0 Using cached pandas-2.2.3-cp311-cp311-win_amd64.whl (11.6 MB) Collecting pygithub<2.0.0,>=1.58.0 Using cached PyGithub-1.59.1-py3-none-any.whl (342 kB) Collecting python-dotenv<0.22.0,>=0.21.1 Using cached python_dotenv-0.21.1-py3-none-any.whl (19 kB) Collecting tatoebatools>=0.2.1 Using cached tatoebatools-0.2.3-py3-none-any.whl (37 kB) Collecting wordfreq[cjk]>=3.0.2 Using cached wordfreq-3.1.1-py3-none-any.whl (56.8 MB) ERROR: Package 'tatoeba-to-anki' requires a different Python: 3.11.1 not in '<3.11,>=3.8'

nacho00112 commented 4 days ago

I tried to fix it but I'd have to rewrite a bunch of things in the code because the data sources and dependencies are different now, we should wait for the creator to update the tool

Vuizur commented 4 days ago

In theory it should still work for Python 3.10.