libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

Python library does not install during make install command

Open jakubman1 opened this issue 5 years ago • 0 comments

After configuring the library with the -DENABLE_PYTHON option, make generates python folder in the build folder, but make install does not install the python library. After some trial and error, I found out that you have to go to the generated python folder and run sudo python3 setup.py install to install the library. Without that, import netconf2 as nc in python returns a ModuleNotFound error. I tried it on Ubuntu 18.04 and Raspbian, and both had the same issue. I am on the devel branch. There were no errors during installation, only warnings about unused variables.

jakubman1 avatar Oct 26 '20 11:10 jakubman1