Conda install xgboost 0.72.1
You could set everything up in a virtual machine and give it to someone to deploy.īut virtual machines have a lot of overhead (large image sizes as well as CPU/memory overhead). Sudo ln -s /etc/nginx/sites-available/ $DOMAIN /etc/nginx/sites-enabled/ $DOMAIN Sudo tee /etc/nginx/sites-available/ $DOMAIN <
#Conda install xgboost 0.72.1 code
We're going to store our web app code and models in /opt/apps/app. sh - b - p /opt/anacondaįor convenience, add Anaconda to $PATH for this terminal session. sudo mkdir -p /optĭownload & install Anaconda into /opt/anaconda. We're not going to use our $HOME directory.įor convenience, let's give ourselves write permissions to /opt. Since we're deploying on a potentially shared server, Or packages installed by pip may not be built properly. You can exit the environment with source deactivateĪs before, we are going to need this system level package. In this tutorial, I'm just returning Hello world!. conda create -n app python -yĬonda install scipy numpy scikit-learn flask -yĬreate your web app that loads your model and does the work. Next, you create a new environment for your project and install all dependencies. 1-Linux-x86_64.sh -b -p $HOME/anaconda2Įcho 'export PATH=" $PATH: $HOME/anaconda2/bin"' >.
#Conda install xgboost 0.72.1 how to
Here's how to download & install Anaconda into your home folder. You're using Anaconda because it can install packages in your home directory and sudo apt install build-essential -yĮver since you made a mess using sudo pip install that caused you to reinstall your Ubuntu, We are going to need this system level package.