Last active
November 4, 2023 12:07
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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
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