-
Notifications
You must be signed in to change notification settings - Fork 310
When will SciPy be available for M1 #161
Comments
If you install it in a conda environment through miniforge you will have access to SciPy on M1. |
Does anyone know when it will be available through other python installation pathways (e.g. pyenv)? |
you can use conda |
If you need help setting up conda, refer to the 'Miniforge' instructions on my issue: #153 PS: I do not believe Keras works (well) on M1 so your milage may vary there. |
I got Keras working with Conda. Though I still had to build pillow with home-brew because I also use it and there was also some issue with h5py which I had to solve. And as eager mode did not work I inserted the following in my code: import tensorflow as tf gpu is working and it is fast !! |
Hi, I wonder how you installed keras? When I run
I'm using a MacBook Air M1 , Minforge3 with Conda 4.9.2 python 3.9.1 here is my tensorflow environment detail:
|
After installing the Conda environment as explained in #153 <#153>
I activated the environment and used "pip install keras”
This worked for me
… On 21 Feb 2021, at 19:28, Phasheen ***@***.***> wrote:
Hi, I wonder how you installed keras? When I run conda install keras or conda install -c conda-forge kera here is what I got
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
I'm using a MacBook Air M1 , Minforge3 with Conda 4.9.2 python 3.9.1
here is my tensorflow environment detail:
absl-py 0.11.0 pyhd8ed1ab_0 conda-forge
appnope 0.1.2 pypi_0 pypi
argon2-cffi 20.1.0 pypi_0 pypi
astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
async-generator 1.10 pypi_0 pypi
attrs 20.3.0 pypi_0 pypi
backcall 0.2.0 pypi_0 pypi
bleach 3.3.0 pypi_0 pypi
ca-certificates 2020.12.5 h4653dfc_0 conda-forge
cachetools 4.2.1 pypi_0 pypi
certifi 2020.12.5 py38h10201cd_1 conda-forge
cffi 1.14.5 pypi_0 pypi
chardet 4.0.0 pypi_0 pypi
cycler 0.10.0 py_2 conda-forge
decorator 4.4.2 pypi_0 pypi
defusedxml 0.6.0 pypi_0 pypi
entrypoints 0.3 pypi_0 pypi
flatbuffers 1.12 pypi_0 pypi
freetype 2.10.4 h17b34a0_1 conda-forge
gast 0.4.0 pyh9f0ad1d_0 conda-forge
google-auth 1.27.0 pypi_0 pypi
google-auth-oauthlib 0.4.2 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
grpcio 1.33.2 pypi_0 pypi
h5py 2.10.0 pypi_0 pypi
idna 2.10 pypi_0 pypi
ipykernel 5.4.3 pypi_0 pypi
ipython 7.20.0 pypi_0 pypi
ipython-genutils 0.2.0 pypi_0 pypi
ipywidgets 7.6.3 pypi_0 pypi
jedi 0.18.0 pypi_0 pypi
jinja2 2.11.3 pypi_0 pypi
jpeg 9d h27ca646_0 conda-forge
jsonschema 3.2.0 pypi_0 pypi
jupyter 1.0.0 pypi_0 pypi
jupyter-client 6.1.11 pypi_0 pypi
jupyter-console 6.2.0 pypi_0 pypi
jupyter-core 4.7.1 pypi_0 pypi
jupyterlab-pygments 0.1.2 pypi_0 pypi
jupyterlab-widgets 1.0.0 pypi_0 pypi
keras-preprocessing 1.1.2 pypi_0 pypi
kiwisolver 1.3.1 py38h12a6f45_1 conda-forge
lcms2 2.12 had6a04f_0 conda-forge
libblas 3.9.0 8_openblas conda-forge
libcblas 3.9.0 8_openblas conda-forge
libcxx 11.0.1 h168391b_0 conda-forge
libffi 3.3 h9f76cd9_2 conda-forge
libgfortran 5.0.0.dev0 11_0_0_hdc626ea_18 conda-forge
libgfortran5 11.0.0.dev0 hdc626ea_18 conda-forge
liblapack 3.9.0 8_openblas conda-forge
libopenblas 0.3.12 openmp_h2ecc587_1 conda-forge
libpng 1.6.37 hf7e6567_2 conda-forge
libtiff 4.2.0 h70663a0_0 conda-forge
libwebp-base 1.2.0 h27ca646_0 conda-forge
llvm-openmp 11.0.1 hb3022d6_0 conda-forge
lz4-c 1.9.3 h9f76cd9_0 conda-forge
markdown 3.3.3 pypi_0 pypi
markupsafe 1.1.1 pypi_0 pypi
matplotlib 3.3.4 py38h150bfb4_0 conda-forge
matplotlib-base 3.3.4 py38ha029820_0 conda-forge
mistune 0.8.4 pypi_0 pypi
nbclient 0.5.2 pypi_0 pypi
nbconvert 6.0.7 pypi_0 pypi
nbformat 5.1.2 pypi_0 pypi
ncurses 6.2 h9aa5885_4 conda-forge
nest-asyncio 1.5.1 pypi_0 pypi
notebook 6.2.0 pypi_0 pypi
numpy 1.20.1 py38h9e6c65a_0 conda-forge
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 pyh9f0ad1d_1 conda-forge
openssl 1.1.1j h27ca646_0 conda-forge
opt_einsum 3.3.0 py_0 conda-forge
packaging 20.9 pypi_0 pypi
pandocfilters 1.4.3 pypi_0 pypi
parso 0.8.1 pypi_0 pypi
pexpect 4.8.0 pypi_0 pypi
pickleshare 0.7.5 pypi_0 pypi
pillow 8.1.0 py38h5cebd47_2 conda-forge
pip 21.0.1 pyhd8ed1ab_0 conda-forge
prometheus-client 0.9.0 pypi_0 pypi
prompt-toolkit 3.0.16 pypi_0 pypi
protobuf 3.15.0 pypi_0 pypi
ptyprocess 0.7.0 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycparser 2.20 pypi_0 pypi
pygments 2.8.0 pypi_0 pypi
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyrsistent 0.17.3 pypi_0 pypi
python 3.8.6 h12cc5a1_5_cpython conda-forge
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.8 1_cp38 conda-forge
pyzmq 22.0.3 pypi_0 pypi
qtconsole 5.0.2 pypi_0 pypi
qtpy 1.9.0 pypi_0 pypi
readline 8.0 hc8eb9b7_2 conda-forge
requests 2.25.1 pypi_0 pypi
requests-oauthlib 1.3.0 pypi_0 pypi
rsa 4.7.1 pypi_0 pypi
scipy 1.6.0 py38hdf044fb_0 conda-forge
send2trash 1.5.0 pypi_0 pypi
setuptools 49.6.0 py38h10201cd_3 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
sqlite 3.34.0 h6d56c25_0 conda-forge
tensorboard 2.4.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.0 pypi_0 pypi
tensorflow 2.4.0rc0 pypi_0 pypi
tensorflow-addons 0.11.2 pypi_0 pypi
tensorflow-estimator 2.4.0 pypi_0 pypi
termcolor 1.1.0 py_2 conda-forge
terminado 0.9.2 pypi_0 pypi
testpath 0.4.4 pypi_0 pypi
tk 8.6.10 hf7e6567_1 conda-forge
tornado 6.1 py38h30f7421_1 conda-forge
traitlets 5.0.5 pypi_0 pypi
typeguard 2.11.1 pyhd8ed1ab_0 conda-forge
typing_extensions 3.7.4.3 py_0 conda-forge
urllib3 1.26.3 pypi_0 pypi
wcwidth 0.2.5 pypi_0 pypi
webencodings 0.5.1 pypi_0 pypi
werkzeug 1.0.1 pypi_0 pypi
wheel 0.36.2 pyhd3deb0d_0 conda-forge
widgetsnbextension 3.5.1 pypi_0 pypi
wrapt 1.12.1 pypi_0 pypi
xz 5.2.5 h642e427_1 conda-forge
zlib 1.2.11 h31e879b_1009 conda-forge
zstd 1.4.8 h5b28eab_1 conda-forge
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#161 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWR3K6M3HYYGBSP7HVT57LTAFGEFANCNFSM4XJKT5QQ>.
|
This is my environment detail: Name Version Build Channelabsl-py 0.11.0 pypi_0 pypi |
oh my god, I tried pip install before and didn't work, but it worked just now. |
SciPy is installed with the environment.yml mentioned in the article #153 |
It can be manually installed using pip.
You need gcc (and probably some other utilities) installed via Homebrew. The option "NPY_DISTUTILS_APPEND_FLAGS=1" is required when compiling for Python 3.8 (not necessary for 3.9). |
A fix for
And then, you can install SciPy in the usual way.
|
I want to Use Keras but as there is a SciPy dependency this is not yet possible.
Any idea when SciPy will be available for M1.
The text was updated successfully, but these errors were encountered: