-
Notifications
You must be signed in to change notification settings - Fork 27
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
Install error on macOS Monterrey #147
Comments
Me too. |
I needed GDAL CLI tools for other purposes so installed GDAL via homebrew. After this tried out mapbox-tilesets via pip again and it installed successfully. |
yes. and GDAL CLI only work with Python 3.9.2. |
I am having the issue as well. Mac OS Monterey, Python 3.10.2. I have installed GDAL and am still getting errors at rasterio.
|
if your GDAL installed by homebrew, it depended Python 3.9.2 . so use Python 3.9.2 repalce 3.10.2 , or use virtualenv with python 3.9.2 |
I got this error with using virtualenv. Do I need to install GDAL CLI tools into my virtual environment? @tjukanovt maybe you could provide insight into how to install the CLI tools? If it's a requirement for this project I'm down to push a PR to update the readme :)
|
@connor11528 a correction for this is in review now. In the interim, you should be able to install GDAL manually before |
@johnk1 okay can do. And do I need to install gdal in my virtual environment or is it sufficient to install it globally with homebrew on the parent machine? |
Yes, you would just install it so the arm64 GDAL binaries are available globally. Check that the |
Take a look at the 1.7.3 release. It has a new installation process which specifically isolates out rasterio/GDAL. These are only needed if you'll use the |
Okay cool will do. Thanks @johnk1! |
I am trying to install tilesets-cli on my M1 Mac (Monterrey 12.2) but I am facing some issues with rasterio/GDAL. I am using Python version 3.9.10.
I created a new virtual environment and ran
pip install mapbox-tilesets
Got the following output:
Related Windows issue: #115
The text was updated successfully, but these errors were encountered: