Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How to Install python-node in Ubuntu 18.04

Writer Matthew Martinez

I got the following results when trying to install python-node in Ubuntu 18.04.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-node
0

1 Answer

Node.js does not depend on Python. To install the node snap package open the terminal and type:

sudo snap install node --classic --channel 11/stable 

python-node is a Node.js script runner for Python. To install python-node open the terminal and type:

sudo apt install python3-pip
python3 -m pip install --user python-node 

Both Node.js and Python can run scripts interactively in a REPL. A read–eval–print loop (REPL), also termed an interactive top level or language shell, is a simple, interactive computer programming environment that takes single user inputs (i.e. single expressions), evaluates them, and returns the result to the user. Installing IPython (python3-ipython) allows the user to run blocks of code and scripts interactively in a more user-friendly way.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy