Skip to content

Instantly share code, notes, and snippets.

@LtGlahn
Last active November 4, 2023 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LtGlahn/a97702385ddd58614d98ce3231b057ed to your computer and use it in GitHub Desktop.
Save LtGlahn/a97702385ddd58614d98ce3231b057ed to your computer and use it in GitHub Desktop.
Installasjon kodesnutter for å komme igang med mine analysepakker på WSL og linux. Forutsetter at anaconda python er installert.
conda config --add channels conda-forge
conda config --set channel_priority strict
cat .condarc
conda create -n kulegeotingAug2022 bokeh cartopy dask fiona geojson geopandas geoviews geoviews-core holoviews hvplot numpy openpyxl pandas pandoc pandocfilters postgresql proj pyproj shapely xlrd xlsxwriter xmltodict ipykernel ipympl nb_conda_kernels nodejs pysftp visidata folium matplotlib mapclassify qgrid deepdiff ipdb
@LtGlahn
Copy link
Author

LtGlahn commented Aug 2, 2022

Prøver ut jupyter lab

conda create -n jupyterlabAug2022 jupyterlab bokeh cartopy dask fiona geojson geopandas geoviews geoviews-core holoviews hvplot numpy openpyxl pandas pandoc pandocfilters postgresql proj pyproj shapely xlrd xlsxwriter xmltodict pysftp visidata folium matplotlib mapclassify

@LtGlahn
Copy link
Author

LtGlahn commented Nov 3, 2023

Installere anaconda uten å fucke opp eksisterende python: Svar NEI på spørsmål om å føye til $PATH og å kjøre INIT

Aktivere anaconda python:

eval "$(/home/capgemini/anaconda3/bin/conda shell.bash hook)"
conda init 

Kjør så conda deactivate for å gå tilbake til normalt shell, med bruk av upåvirket python.

Lage anaconda miljø for å snakke med mariadb:

conda create -n mariadb fiona geojson geopandas numpy openpyxl pandas postgresql proj pyproj shapely xlrd xlsxwriter xmltodict ipykernel ipympl nb_conda_kernels nodejs pysftp deepdiff ipdb ipykernel mysql-connector-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment