Skip to content

pyonmttok installation fails while installing OpenNMT-py with python 3.12 #329

@ramanirudh

Description

@ramanirudh

Had difficulty installing pyonmttok on Redhat 9.4 with python 3.12, while all other dependencies have been resolved smoothly. The error goes like (similar to https://github.com/OpenNMT/OpenNMT-py/issues/1770 ):
No local packages or working download links found for pyonmttok<2,>=1.37 . error: Could not find suitable distribution for Requirement.parse('pyonmttok').

Figured out hard way that (https://pypi.org/simple/pyonmttok/) does not have the required .whl file for python 3.12. Installation was successful with python 3.11.

This is to request you to mention in Readme.md the requirement of python<3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions