Skip to content

pythonnet

  • Docs: ? ! Developers recommend Mono version 5.20.1 Issues 939

On Ubuntu, the eoan universe repository has to be added

deb https://archive.ubuntu.com/ubuntu/ eoan universe
deb https://archive.ubuntu.com/ubuntu/ eoan-updates universe
But I can't figure out how to add the older version, because the recommended syntax produces the error "Unable to correct problems, you have held broken packages"
sudo apt install mono-devel=5.18.0.240+dfsg-3
Maybe try the tarballs on Mono's website... Or maybe there's another repo I don't know about..
apt install clang libglib2.0-dev python3-dev
pip install pycparser pythonnet
pip install -U setuptools