Felflare / rpunct

📝An easy-to-use package to restore punctuation of the text.
107 stars 70 forks source link

Can't install rpunct due to torch version conflict #16

Open babthamotharan opened 1 year ago

babthamotharan commented 1 year ago

Hi,

Please update requirement.txt file to fix this error. ERROR: Could not find a version that satisfies the requirement torch==1.8.1 (from rpunct) (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1) ERROR: No matching distribution found for torch==1.8.1

Thanks

rushi20139 commented 1 year ago

Same Error. Did you get a workaround?

jonmach commented 11 months ago

Also same error on Mac M2 chip.

ERROR: Could not find a version that satisfies the requirement torch==1.8.1 (from rpunct) (from versions: 2.0.0, 2.0.1, 2.1.0, 2.1.1) ERROR: No matching distribution found for torch==1.8.1

Python version: 3.11.6

eugenos-programos commented 9 months ago

Downgrade your python version to 3.9

jonmach commented 9 months ago

@eugenos-programos - that is not the solution. @babthamotharan suggests modifying the requirements.txt file. That works fine. Doing a git clone, making the changes and installing from the local version provides a workable solution

eugenos-programos commented 9 months ago

@jonmach if you want to run this package inside docker container you cannot modify requirements. So for my situation downgrading python version is a workable solution.