tjansson60 / geospatial

Example notebooks on geospatial visualizations used for the talk at the Pydata Copenhagen on 27th of February 2020
https://www.meetup.com/PyData-Copenhagen/events/268779346/
7 stars 2 forks source link

Problem building the environment #1

Open thomasfrederikhoeck opened 4 years ago

thomasfrederikhoeck commented 4 years ago

Thank you for the cool repo.

I had a bit of trouble building the environment (on windows). I suspect it was due to large amount of packages with quite a few dependencies themselves. I resolved the issue by letting conda do the heavy lifting of managing the package and only using pip for the packages that didn't exist on either anaconda or conda-forge. The YAML is as follows:

name: geospatial
channels:
  - conda-forge
  - defaults
dependencies:
  - python=3.7.3
  - cartopy
  - pip
  - pandas
  - numpy
  - tqdm
  - pyarrow
  - matplotlib
  - pillow
  - seaborn  
  - psutil  
  - shapely  
  - pyproj  
  - nltk
  - snakeviz  
  - geopandas  
  - descartes    
  - datashader    
  - holoviews    
  - jupyterlab    
  - jupyter_contrib_nbextensions    
  - folium
  - shap
  - lime
  - geocoder
  - scikit-learn
  - flake8
  - pydeck
  - pip:
    - dexplot
    - pudb
    - geojsoncontour
    - bpython
    - DateTimeRange
    - keplergl
tjansson60 commented 4 years ago

Hi Thomas. Thanks for letting me know. For some reason, I did not get a notification on the issue.

I will try to rebuild using my instructions tomorrow and see if I can reproduce the error, but I am glad you found a way for now :)

tjansson60 commented 4 years ago

I have just tried to reproduce here on my Linux machine, but can't get any errors. With a standard mini-conda installation, I can execute the command below and get the environment that I tested with the notebooks in this repo and it works fine.

[09:51]tjansson@T480s ~/code/geospatial (master=)$ conda env create -n geospatial -f environment.yml
thomasfrederikhoeck commented 4 years ago

No worries. It might be a Windows related error probably. :-)