Skip to content
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

Issue installing earth analytics python environment on Mac M1 #98

Open
JKinsler opened this issue Oct 4, 2023 · 0 comments
Open

Issue installing earth analytics python environment on Mac M1 #98

JKinsler opened this issue Oct 4, 2023 · 0 comments

Comments

@JKinsler
Copy link

JKinsler commented Oct 4, 2023

Describe the issue
earth analytics python environment setup for Mac M1 does not automate currently. I manually installed the environment instead. Here are some changes that were required from the automated instructions:

  1. miniconda did not install correctly. I switched to miniforge, and intstalled it using the command brew install miniforge
  2. Conda packages didn't install smoothly from the environment.yml file with the command conda env create --debug -f environment.yml. Instead, I individually installed each package. The majority of packages required the pip installer instead of the conda installer. Here are my notes on which packages installed with installer.
# dependencies:
# python=3.10.13 # previously specified python 3.8
# pip # already installed

# Core scientific python
numpy # conda
pyqt # conda
tqdm # conda
kiwisolver # conda

# Plotting
matplotlib # conda
plotly # conda
seaborn # conda

# Spatial packages
pysal # conda
pyproj>=3.4 # conda, package was previously specified as 3.0
rasterstats # pip3
geopy # pip3
cartopy # conda
descartes # conda
contextily # DID NOT INSTALL, COULD NOT SOLVE
earthpy # pip3
folium # conda
geojson # conda
mapboxgl # pip3
hydrofunctions # pip3
geocoder # pip3
tweepy # pip3
xarray # pip3
rioxarray>=0.3.0 # pip3
scipy # pip3
netcdf4 # pip3
nc-time-axis # pip3
regionmask # pip3

# Natural language processing
nltk # pip3
textblob # pip3

# Jupyter Environment
papermill # pip3
autopep8 # pip3
jupyterlab # pip3
notebook # pip3
ipython # pip3
jupyter_contrib_nbextensions # pip3
nbclean # pip3
nbresuse # pip3

# Autograding
matplotcheck>=0.1.3 # pip3
nbgrader # pip3

# Added by jkinsler
geopandas # pip3
git+https://github.com/earthlab/earthpy@apppears # newest appears library
chardet # pip3
hvplot # pip3

Desktop (please complete the following information):

  • OS: iOS 13.5.1 for Mac M1
  • Browser chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant