DEV Community

Full Stack Hacker
Full Stack Hacker

Posted on • Edited on

2 1

Install Theano on Debian

Theano is a Python-based library that is basically used in the operations of mathematics. We can perform operations on multi-dimensional arrays so efficiently with this library. The main use of this library is done in building advanced deep learning projects or in the process of data visualization.

Requirements:

  • Python3

  • Python3-pip

    sudo apt-get install python3-pip python3-dev
    pip3 --version
    

  • NumPy

    pip3 install numpy
    
  • SciPy To install the SciPy run the following command, this command will install the SciPy and the required dependencies as well:

    pip3 install numpy scipy matplotlib ipython jupyter pandas sympy nose
    

    Some errors I encountered during the installation of Scipy. If you have a stable installation, you can ignore the installation errors that I talk about below:

  • BLAS

    sudo apt-get update
    sudo apt-get install libatlas-base-dev
    

Install Theano

Use the following command to install the Theano package:

sudo pip3 install theano

Verifying Theano package Installation on Linux using PIP

To verify if the Theano package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show theano

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay