-
Notifications
You must be signed in to change notification settings - Fork 454
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
"docker compose build" not working on Mac (M1 Max) #36
Comments
I fixed it by adding pkg-config and libhdf5-dev to the RUN apt-get install line in the Dockerfile, and adding a line RUN pip install --no-binary=h5py h5py Here is my Dockerfile
|
Experiencing the same issue on Mac (M3 Max). @DucHUNG312’s solution works. |
I fixed it by adding pkg-config and libhdf5-dev to the RUN apt-get install line in the Dockerfile and nothing else was changed. |
I have been able to make docker build and run the image properly just adding the line The issue I is the Jupyter kernel continuously die and restart when running some notebooks. For instance: Kernel Restarting |
@DucHUNG312 You may also need to add |
Im am on a M2 Macbook Air and have tried all of the above, but still getting the "The kernel for notebooks/02_deeplearning/02_cnn/cnn.ipynb appears to have died. It will restart automatically." problem trying to run the first workbook. |
I constantly got this error, although I installed pkg-config, added /opt/homebrew and /opt/homebrew/bin to PATH, and I set up HDF5_DIR=/opt/homebrew/opt
46.21 Building h5py requires pkg-config unless the HDF5 path is explicitly specified using the environment variable HDF5_DIR. For more information and details, see https://docs.h5py.org/en/stable/build.html#custom-installation
46.21 error: pkg-config probably not installed: FileNotFoundError(2, 'No such file or directory')
46.21 [end of output]
46.21
46.21 note: This error originates from a subprocess, and is likely not a problem with pip.
46.21 ERROR: Failed building wheel for h5py
The text was updated successfully, but these errors were encountered: