Skip to content

Issue installing earth analytics python environment on Mac M1 #98

@JKinsler

Description

@JKinsler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions