Install pythonnet on Ubuntu 18.04, Python 3.6.7 64-bit, Mono 5.16 fails

柔情痞子 提交于 2019-12-04 20:28:18

I was able to install it with the following commands:

sudo apt update
sudo apt-get install clang
sudo apt-get install libglib2.0-dev
sudo apt install git
sudo apt install nuget
git config --global http.proxy http://my.proxy.address:port
mono /usr/lib/nuget/nuget.exe config -set http_proxy=http://my.proxy.address:port
/usr/bin/python3 -m pip install -U pycparser --user
/usr/bin/python3 -m pip install -U git+https://github.com/pythonnet/pythonnet --user --egg

Change ownership of the file in question. I was having a similar with dotnet and what i did was to change the ownership of the file or folder.

sudo chown -R $user:$user /path_to_file
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!