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
running mmm_lightweight with M1 mackbooks #101
Comments
Hello @Samuelchazy ! Try following #98 and let me know if there are any follow up issues. Best, |
Thanks @pabloduque0 pabloduque0 , but now i get a different error when I import: from lightweight_mmm import lightweight_mmm TypeError Traceback (most recent call last) File ~/opt/anaconda3/lib/python3.9/site-packages/lightweight_mmm/utils.py:29, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/init.py:37, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/init.py:42, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/init.py:21, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/init.py:96, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/service/init.py:419, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/ops/data_service_ops.py:24, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/ops/compression_ops.py:16, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/util/structure.py:23, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/data/util/nest.py:36, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/framework/sparse_tensor.py:24, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/framework/constant_op.py:25, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/eager/execute.py:23, in File ~/opt/anaconda3/lib/python3.9/site-packages/tensorflow/python/framework/dtypes.py:34, in TypeError: Unable to convert function return value to a Python type! The signature was |
So it is complaining about your current installation of tensorflow. What version do you have? |
@pabloduque0 . I have tensorflow 2.10.0 installed using tensorflow-macos |
@pabloduque0 It worked after upgrading tensorflow-macos and tensorflow-metal to the latest versions and restarting the kernel. Thank s for the help! |
Glad to hear! Thanks for confirming |
mmm_Lightweight won't get installed on the new M1 mackbook pro even if tensorflow is properly installed and running. There is the following error message:
ERROR: Could not find a version that satisfies the requirement tensorflow>=2.7.2 (from lightweight-mmm) (from versions: none)
The text was updated successfully, but these errors were encountered: