Anaconda® Distribution is a powerful platform for streamlined data science, featuring essential tools for Python and R programming. Whether you’re a seasoned data professional or just starting your data journey, Anaconda simplifies package management, data analysis, and machine learning model development within a unified and accessible environment.
Experience the power of Anaconda with a single click using the Droplet 1-Click deployment. The Anaconda® Distribution Droplet allows you to instantly access the full capabilities of Anaconda, eliminating the need for complex installations. Launch your data science and machine learning projects seamlessly, now just a click away.
Package | Version | License |
---|---|---|
Anaconda | 2023.09-0 | Non-Commericial Use Only |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Anaconda 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Anaconda Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "sharklabs-anaconda"}' \
"https://api.digitalocean.com/v2/droplets"
Before deploying this Droplet, consider the following guidance to ensure you choose the right configuration for your needs:
Congratulations on successfully installing Anaconda! Now that you have the powerful data science platform at your fingertips, let’s get started with some essential steps to make the most out of your Anaconda installation.
Ensure that your Anaconda tools are up to date. Open a terminal and run the following commands:
conda update conda
conda update anaconda-navigator
This will ensure you have the latest versions and bug fixes.
Create a virtual environment to manage your project dependencies. Replace myenv
with your preferred environment name.
conda create --name myenv
conda activate myenv
This isolates your project from the global Python environment, preventing potential conflicts.
Jupyter Notebooks are a fantastic way to create and share live code, equations, visualizations, and narrative text. Install it with:
conda install jupyter
To be able to manage Jupyter Notebooks remotely, create jupyter_notebook_config.py file if it does not exist under ~/.jupyter directory by running the following command:
jupyter notebook --generate-config
Edit the following lines on your jupyter_notebook_config.py file:
#The IP address the notebook server will listen on.
c.ServerApp.ip = '0.0.0.0' # default value is 'localhost'
# Whether to open in a browser after starting.
c.ServerApp.open_browser = False
# If you want to run jupyter notebook command as root
c.ServerApp.allow_root = True
Start a new Jupyter Notebook with:
jupyter notebook
To connect to the Jupyter Notebook server from your browser allow the required ports in the firewall by running the following commands:
ufw allow 8888/tcp
ufw allow 8889/tcp
Once you see the following message, connect to the server using the server URL
To access the server, open this file in a browser:
file:///root/.local/share/jupyter/runtime/jpserver-22627-open.html
Or copy and paste one of these URLs:
http://anaconda2023090onubuntu2204lts-s-2vcpu-4gb-120gb-intel-sfo3-01:8889/tree?token=2641aecf9907b6b5fec09059be84bb0014abdc3e1424832d
http://127.0.0.1:8889/tree?token=2641aecf9907b6b5fec09059be84bb0014abdc3e1424832d
Connect to the server using the following URL
http://{YOUR_DROPLET_IP}:8889/tree?token={YOUR_TOKEN}
Anaconda Navigator provides a graphical interface to manage your packages, environments, and applications. Launch it by running:
anaconda-navigator
Explore the Navigator to manage your environments, install packages, and launch applications like Jupyter Notebooks and Spyder.
Anaconda includes many essential packages, but you may need additional ones for your projects. Use conda install
to install packages. For example:
conda install numpy pandas matplotlib
Connect with the Anaconda Community to get help, share knowledge, and stay updated on the latest developments. Visit the community to join discussions, ask questions, and explore tutorials.
For more detailed information, refer to the Anaconda Reference Guide.