-
Notifications
You must be signed in to change notification settings - Fork 14
Installation in Ubuntu 18.04
Nick Franken edited this page Sep 11, 2019
·
1 revision
- Install build-essential:
sudo apt-get install build-essential - Install node, I prefer to use nvm. But you can also install through apt-get.
- Install python2.7, it is required by node-gyp
- Python 3.6 is already installed:
python3 --version - Install the python3-dev package:
sudo apt-get install python3-dev - Symlink python3-config to python-config:
sudo ln -s $(which python3-config) /usr/local/bin/python-config - There is a bug with how python3.6 was built for this version of ubuntu. A fix has been released, however if you get errors related to
/usr/local/share/dpkg/no-pie-compile.specs No such file or directory:sudo mkdir /usr/local/share/dpkg && sudo cp /usr/share/dpkg/no-pie-* /usr/local/share/dpkg/sudo ln -s /usr/include/python3.6m /usr/local/includes/python3.6m
- Create a node project (or use an existing project instead):
mkdir my_project && cd my_project && npm initnpm install @fridgerator/pynode