forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
lidanger edited this page May 9, 2019
·
3 revisions
如果你在安装过程中遇到问题,那么这里是故障排除 wiki:
https://github.com/pythonnet/pythonnet/wiki/Troubleshooting-on-Windows,-Linux,-and-OSX
pip install pythonnet
https://pypi.python.org/pypi/pythonnet
Windows 上的轮子是可用的。
TODO: Manylinux Wheels.
pip install git+https://github.com/pythonnet/pythonnet
或下载主分支的 zip 归档文件 (或运行 git clone https://github.com/pythonnet/pythonnet
)
并在解压缩目录运行以下命令:
-
python setup.py bdist_wheel --xplat
remove--xplat
to use Mono on OSX and Linux, or to avoid .NET Core builds on Windows. -
pip install --no-index --find-links=.\dist\ pythonnet
(Windows, use/dist/
on Linux)
或者从 pull 请求中,例如:
pip install git+https://github.com/yagweb/pythonnet@add_scope
选择 job name
⇒ artifacts
- https://www.nuget.org/packages/pythonnet/2.3.0-py27-dotnet
- https://www.nuget.org/packages/pythonnet/2.3.0-py35-dotnet
- https://www.nuget.org/packages/pythonnet_py27_dotnet/
- https://www.nuget.org/packages/pythonnet_py35_dotnet/
- progress
conda install -c pythonnet pythonnet
pip install -i https://pypi.anaconda.org/pythonnet/simple pythonnet
choco install pythonnet -pre