This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ecosatto
Recipients ecosatto, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-05-02.18:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556822274.05.0.744587264647.issue36716@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-02 18:37:54ecosattosetrecipients: + ecosatto, paul.moore, tim.golden, zach.ware, steve.dower
2019-05-02 18:37:54ecosattosetmessageid: <1556822274.05.0.744587264647.issue36716@roundup.psfhosted.org>
2019-05-02 18:37:54ecosattolinkissue36716 messages
2019-05-02 18:37:53ecosattocreate