sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y python3-pip
pip3 install --upgrade pip
pip3 install virtualenv
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from pulp import * | |
import pandas as pd | |
import numpy as np | |
import time | |
''' | |
# You can uncomment this code block if you would like to import |
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y python3-pip
pip3 install --upgrade pip
pip3 install virtualenv
If you are on a Windows machine you may run into issues with the conda install osmnx command. The problem may be installing it's geopandas dependency (you may see an error like this: 'UnsatisfiableError: The following specifications were found to be in conflict: geopandas'.
As outlined in this blog post (https://geoffboeing.com/2014/09/using-geopandas-windows/), the issue may be with some of the C extensions of the dependencies. Follow the instructions of the blog post to install geopandas using Python Wheels, before proceeding.
Used MiniConda and created a new environment.
conda create --name GOST_PublicGoods python=3.7
Anaconda environment base with python 3.7
conda install -c conda-forge xarray
conda install nb_conda
conda install -c conda-forge netcdf4
conda install -c conda-forge matplotlib
conda install geopandas
conda install scikit-learn
conda install nb_conda
conda install -c conda-forge -c digitalglobe gdbxtools
conda config --add channels conda-forge
conda install rasterio
pip install geojson
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y python3-pip
pip3 install --upgrade pip
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
followed these directions: https://www.cyberciti.biz/faq/install-and-configure-tigervnc-server-on-ubuntu-18-04/
After I installed GNOME, I had trouble getting past the lock screen. I unlocked the screen with this command 'sudo loginctl unlock-sessions' (https://askubuntu.com/questions/341014/unlock-login-screen-using-command-line/921726)