You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into issues installing pdgraster on a Mac with an Apple Silicon chip (M2). Since other developers might hit similar roadblocks, we may want to eventually update the docs with some additional instructions. For now, I just wanted to document the steps I took to get it working in case I or others need to refer to it the future.
Pillow library
The Pillow library was not being installed with the correct architecture (ARM64) binaries.
Because the error message initially mentioned jpeg I also initially installed it via brew, however, I don't know if this was necessary in the end.
arch -arm64 brew install jpeg
libspatialindex install
To install libspatialindex I had to use the brew command with the arch flag to specify the architecture:
arch -arm64 brew install spatialindex
pdgstaging install?
I installed pdgraster using pip install -e . I'm not sure why it failed to install pdgstaging (since it is listed in setup.py), but I had to install it manually using pip install git+https://github.com/PermafrostDiscoveryGateway/viz-staging. This might be unique to my particular case, but I wanted to document it here in case others run into the same issue.
The text was updated successfully, but these errors were encountered:
robyngit
changed the title
Update docs with installing pdgraster on devices with Apple Silicon chips
Update docs with instructions on installing pdgraster on devices with Apple Silicon chips
May 22, 2024
I ran into issues installing
pdgraster
on a Mac with an Apple Silicon chip (M2). Since other developers might hit similar roadblocks, we may want to eventually update the docs with some additional instructions. For now, I just wanted to document the steps I took to get it working in case I or others need to refer to it the future.Pillow
libraryThe Pillow library was not being installed with the correct architecture (ARM64) binaries.
Steps to resolve:
Because the error message initially mentioned
jpeg
I also initially installed it via brew, however, I don't know if this was necessary in the end.libspatialindex
installTo install
libspatialindex
I had to use thebrew
command with thearch
flag to specify the architecture:pdgstaging
install?I installed
pdgraster
usingpip install -e .
I'm not sure why it failed to installpdgstaging
(since it is listed in setup.py), but I had to install it manually usingpip install git+https://github.com/PermafrostDiscoveryGateway/viz-staging
. This might be unique to my particular case, but I wanted to document it here in case others run into the same issue.The text was updated successfully, but these errors were encountered: