- Visual Studio 2022
- pybind11 v2.13.5
- python3.8.10, 只安装必要的内容, 然后拷贝到此目录, 需要重新装下pip, 不然无法直接使用pip, 不重装只能
python -m pip
- 设置环境变量
set PYTHONHOME=D:\Work\DemoPybind11\3rd\python38set PYTHONPATH=D:\Work\DemoPybind11\3rd\python38\Lib\site-packages
| Name | Name | Last commit date | ||
|---|---|---|---|---|
python -m pipset PYTHONHOME=D:\Work\DemoPybind11\3rd\python38
set PYTHONPATH=D:\Work\DemoPybind11\3rd\python38\Lib\site-packages