Open anaklim opened 2 years ago
Hi anaklim, I had the same issue. I think it is related to the python libraries compatible with TensorFlow for Apple M1.
I suggest you:
Now that all the dependencies have been installed, Elliot will work. (if Elliot requires libraries not listed here, please also install them)
Here you can find my pip freeze: absl-py==1.0.0 astunparse==1.6.3 brotlipy @ file:///Users/runner/miniforge3/conda-bld/brotlipy_1636012319596/work cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work cachetools==5.0.0 certifi==2021.10.8 cffi @ file:///Users/runner/miniforge3/conda-bld/cffi_1636046173594/work charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1644853463426/work cloudpickle==2.0.0 colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1602866480661/work conda==4.11.0 conda-package-handling @ file:///Users/runner/miniforge3/conda-bld/conda-package-handling_1636022092101/work cryptography @ file:///Users/runner/miniforge3/conda-bld/cryptography_1639699578867/work cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work flatbuffers==2.0 fonttools @ file:///Users/runner/miniforge3/conda-bld/fonttools_1646922382634/work future==0.18.2 gast==0.5.3 google-auth==2.6.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.19.1 grpcio @ file:///Users/runner/miniforge3/conda-bld/grpcio_1645230392026/work h5py @ file:///Users/runner/miniforge3/conda-bld/h5py_1637964045648/work hyperopt==0.2.5 idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1642433548627/work importlib-metadata==4.11.2 joblib==1.1.0 keras==2.8.0 Keras-Preprocessing==1.1.2 kiwisolver @ file:///Users/runner/miniforge3/conda-bld/kiwisolver_1635836816114/work libclang==13.0.0 Markdown==3.3.6 matplotlib @ file:///Users/runner/miniforge3/conda-bld/matplotlib-suite_1639359043885/work munkres==1.1.4 natsort @ file:///home/conda/feedstock_root/build_artifacts/natsort_1643636597628/work networkx==2.7.1 numpy==1.22.2 oauthlib==3.2.0 opt-einsum==3.3.0 packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1637239678211/work pandas==1.4.1 Pillow @ file:///Users/runner/miniforge3/conda-bld/pillow_1645323199646/work protobuf==3.19.4 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycosat @ file:///Users/runner/miniforge3/conda-bld/pycosat_1636020570107/work pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1643496850550/work pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1642753572664/work PySocks @ file:///Users/runner/miniforge3/conda-bld/pysocks_1635862736740/work pyspotlight==0.7.2 python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work pytz==2021.3 PyYAML==5.4.1 requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1641580202195/work requests-oauthlib==1.3.1 rsa==4.8 ruamel-yaml-conda @ file:///Users/runner/miniforge3/conda-bld/ruamel_yaml_1636009262461/work scikit-learn==1.0.2 scipy==1.8.0 six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work tensorboard==2.8.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 tensorflow-macos==2.8.0 tensorflow-metal==0.4.0 termcolor==1.1.0 tf-estimator-nightly==2.8.0.dev2021122109 threadpoolctl==3.1.0 tornado @ file:///Users/runner/miniforge3/conda-bld/tornado_1635819711289/work tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1646031859244/work typing_extensions==4.1.1 unicodedata2 @ file:///Users/runner/miniforge3/conda-bld/unicodedata2_1640031049741/work urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1641584929973/work Werkzeug==2.0.3 wrapt==1.13.3 zipp==3.7.0
I wish this could help you : )
Please let me know if this has been already discussed before - I've tried finding any information and failed. I have attempted to install Elliot according to the instructions in the docs:
I am using a MacBook Pro with M1 Pro chip, 12.0.1 Monterey OS, Python version 3.9 installed with Homebrew. It looks like there is some issue with Cython and some installation quirk, but I really don't know how to approach solving this. Please let me know if anyone else had such an issue previously.
When I run the last pip install command I get the following terminal output:
The output of my pip freeze:
Like I said, I would greatly appreciate any assistance. Thank you!