Last active
May 26, 2023 12:52
-
-
Save sjtalkar/3dc7e166db44a811faac38f2666e95ac to your computer and use it in GitHub Desktop.
Creating Geopandas environment
This file contains hidden or 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
## Environment creation for power bi ML | |
conda create -n py37 -c anaconda python=3.7 | |
conda activate py37_env | |
pip install matplotlib | |
pip install pandas | |
pip install sckit-learn | |
pip install xgboost | |
Set the environment | |
C:\Users\username\miniconda3\envs\py37_env | |
Cloning the environment | |
conda create --name geo_streamlit_env --clone geo_env | |
`Installing packages with pip and certifying pypi as trusted host` | |
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org <package-name> | |
Setting pip as trusted globa; host | |
python -m pip config set global.trusted-host=pypi.org files.pythonhosted.org | |
conda create -n geo_env | |
conda activate geo_env | |
conda config --env --add channels conda-forge | |
conda config --env --set channel_priority strict | |
conda install python=3 geopandas | |
conda install ipykernel | |
conda install notebook | |
conda install jupyter_contrib_nbextensions | |
python -m ipykernel install --user --name=milestone_geo_env | |
#Remove | |
conda env remove -n milestone_geo_env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment