-
Notifications
You must be signed in to change notification settings - Fork 405
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
Installation conflict (praxis / lingvo) #1
Comments
lingvo only supports python 3.8, 3.9 and 3.10.
|
|
To reproduce the issue (today) you can use the following Dockerfile (on an ARM cpu or with hardware emulation):
|
Looks like lingvo lacks pip support on macOS tensorflow/lingvo#195 |
Also experiencing this on Windows 10, conda 4.12.0, when running |
More than that, it seems to be an issue with lingvo on ARM64. google/paxml#30 |
same issue, ubuntu23.10,conda env ,python=3.10.14@sitic |
Same issue, Windows 11: Conda ver:
Produces:
|
Same issue on Windows 10, conda version 24.4.0 |
Does anyone solve this problem? |
same issue |
same issue on windows 11.
python version (tried two):
|
Same issue found!
|
I also have this issue on Windows, using the CPU environment. Works fine with the GPU environment on Ubuntu. |
Same error! tried almost everything. Please fix it. Thanks. |
Same error! Mac M1 Pro. Please fix it. Thanks. |
The dependency lingvo does not support pip install for macOS. For now you can manually install it from the source following these instructions. |
You might want to specify that it does not support ARM, and consequentially Apple silicon (M1/M2 etc.). On older Intel Macs it should work fine, and it will not work on ARM servers. It's the architecture that is not supported, not the OS. (Sorry this message was more for the authors/maintainers than for you!) |
the issue is that, as specified in lingvo github source file, lingvo run only on python 3.10 and 3.9 TO bypass this issue you can :
do conda env create --file=environment_cpu.yml this ensure you have the correct python version installed (3.10) and not the one on your machine (first you install python 3.10 then you use pip with python 3.10,) you can check if you have the correct python version with then you can do pip install lingvo and since its only available on python 3.10 it should work Update : no it still doesn't work idk why, if anyone has insight |
This issue is the killer |
This mistake discouraged 99% of people. |
(As sarusso pointed out in their earlier comment) TimesFM has a lingvo dependency. lingvo unfortunately does not support ARM, and consequentially Apple silicon (M1/M2 etc.). We are working to find a way around this issue |
pip only have the lingvo linux dist. And tried to install it from source, then we will face the issue of "tensorflow-text~=2.13.0" because tensorflow discontinue their dist on windows after 2.11.0 release. Seems the only way is to move to Linux.. |
This program has been successfully run in Ubuntu. |
Solved it using WSL with Ubuntu 22.04 on Windows 11 |
This won't run in a windows environment because a number of the repos are for linux only. |
just as @Blochergroup said, this is solved using WSL with Ubuntu on windows. |
I don't think using WSL with Ubuntu on Windows is an 'acceptable' solution - in the short-term while this is worked on, sure. It unfortunately makes the repository 1) difficult to get started with and to integrate into other code and 2) ties it to the OS, making it inaccessible to non-Ubuntu Linux distro users, and OSX users. I think another solution or workaround needs to be found here. |
ERROR: Could not find a version that satisfies the requirement lingvo==0.12.7 (from paxml) (from versions: none) |
windows 下的Ubuntu 安裝成功 |
@BrutishGuy completely agree. In the current state, the maintainers should write explicitly in the Readme: |
it doesnt work on python 3.10 either |
They never care about windows users. |
Any movement here? mac M1 meets the problem. |
我也是用WINDOW11的WSL安装的,但是我也卡在lingvo这了,请麻烦指导 一下,谢谢! |
They should properly mention supported OS like Ubuntu 22.04. I tried all the methods above but still no success. |
Solution for running this on google colabSince I use time series models for stock forecasting. I wanted to use this new tool. Tried to install this on my local mac & windows but no success. I used these mentioned techniques to run this on CPU
You can visit this public Gist I am adding for reference. |
Mac M3 same issue here! |
|
Has there been any progress on supporting ARM based Macs? |
Works in Google Colab, locally Mac M1 has the issue |
Is there a plan to fix the M1 issue? |
We are working on removing some of the paxml dependencies which should be able to make it run on arm machines. Aiming to have it within the next couple of weeks. |
Sounds great, thank you! |
Still getting the same ERROR: Could not find a version that satisfies the requirement lingvo==0.12.7 (from paxml) |
This is the best workaround. Thanks. |
I cant solve the problem, Windows 11, Python 3.10.11, python venv. The conflict is caused by: To fix this you could try to:
|
Same issue, i was shocked when you shared the colab example, i was having trouble trying in colab enviorenment. If someone wants also to try it, when you pip install timesfm you need to not restart the runtime, giving also my gists with steps timesFM_colab. Do we have any news about a solution to the issue? |
Hi!
Thanks for sharing; looks interesting!
Attempting to install
conda env create --file=environment_cpu.yml
yields:running conda
24.4.0
on MacOS Sonoma 14.4.1 w/ M1 Max.Attempting to install with
pip
directly yieldsThe text was updated successfully, but these errors were encountered: