earth-analytics-python-env icon indicating copy to clipboard operation
earth-analytics-python-env copied to clipboard

Issue installing earth analytics python environment on Mac M1

Open JKinsler opened this issue 2 years ago • 0 comments

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

JKinsler avatar Oct 04 '23 15:10 JKinsler