Skip to content
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

pip install ctranslate2: no package found on macOS #133

Closed
miikargh opened this issue Feb 27, 2020 · 4 comments · Fixed by #367
Closed

pip install ctranslate2: no package found on macOS #133

miikargh opened this issue Feb 27, 2020 · 4 comments · Fixed by #367
Labels
build Build related issues or changes enhancement New feature or request help wanted Extra attention is needed

Comments

@miikargh
Copy link

Hi,

Running pip install ctranslate2 with the latest pip as per the installation instructions results in the following:

ERROR: Could not find a version that satisfies the requirement ctranslate2== (from versions: none)
ERROR: No matching distribution found for ctranslate2==
> pip --version
pip 20.0.2 from [...]/lib/python3.8/site-packages/pip (python 3.8)
> conda --version
conda 4.7.12

This is on macOS Mojave 10.14.6 (18G2022)

@guillaumekln
Copy link
Collaborator

guillaumekln commented Feb 27, 2020

Hi,

Unfortunately we don't build packages for macOS at the moment. The current recommendation would be to use a Docker image.

We can consider this issue for future improvement.

@guillaumekln guillaumekln changed the title pip install ctranslate2: no package found pip install ctranslate2: no package found on macOS Feb 27, 2020
@guillaumekln guillaumekln added build Build related issues or changes enhancement New feature or request help wanted Extra attention is needed labels Feb 27, 2020
@miikargh
Copy link
Author

Ok. Thanks for the info!

@guillaumekln
Copy link
Collaborator

macOS support was recently added to the Tokenizer thanks to @keichi: OpenNMT/Tokenizer@9473db8

Since CTranslate2 is using a similar setup, this commit can be used as an example if anyone wants to contribute. Note that a macOS wheel will most likely be CPU-only.

@keichi
Copy link
Contributor

keichi commented Jan 4, 2021

I've started working on this one. Please see #363.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build related issues or changes enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants