Message341295
Problem solved:
Running the following code in the CommandLine Python and in the C++ embedded python clarified the problem:
import importlib.machinery
print(importlib.machinery.all_suffixes())
CommandLine Python:
> ['.py', '.pyw', '.pyc', '.cp37-win_amd64.pyd', '.pyd']
C++ Embedded Python:
> ['.py', '.pyw', '.pyc', '_d.cp37-win_amd64.pyd', '_d.pyd']
It shows that the Embedded python is running in Debug mode and therefore adds a _d to the suffix. Yet the numpy or pytorch installed only non-debug files. |
|
Date |
User |
Action |
Args |
2019-05-02 18:37:54 | ecosatto | set | recipients:
+ ecosatto, paul.moore, tim.golden, zach.ware, steve.dower |
2019-05-02 18:37:54 | ecosatto | set | messageid: <1556822274.05.0.744587264647.issue36716@roundup.psfhosted.org> |
2019-05-02 18:37:54 | ecosatto | link | issue36716 messages |
2019-05-02 18:37:53 | ecosatto | create | |
|