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 michaellongge
Recipients eryksun, michaellongge, paul.moore, steve.dower, tim.golden, zach.ware
Date 2022-01-31.09:12:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643620363.52.0.781449021841.issue46578@roundup.psfhosted.org>
In-reply-to
Content
I can't use subprocess. Because the original problem is not that I want to use os.spawnv(). The original problem is that I go to install python3d, use setup.py install, the returned information shows that the compilation is completed, the link is also completed, and the installation is also completed. Done, but the pytorch3d folder is in the D:\Python38\Lib\site-packages\pytorch3d-0.6.1-py3.8-win-amd64.egg folder, which seems to be wrong because I moved it manually It can be used normally outside pytorch3d-0.6.1-py3.8-win-amd64.egg. (I wrote the detailed issue here [https://github.com/facebookresearch/pytorch3d/issues/1052]) So I I tried to use pycharm to debug the process. I wanted to see where the installation error was, so I encountered the problem of os.spawnv(). If you want to find the installation problem, you must first compile and link. This LIB: fatal error LNK1181: just Occurs in the link stage spawn.py (69). The strange thing is that the operation will not report an error, but DEBUG will report an error.
So my salmpe code is all separated from D:\Python38\Lib\distutils\spawn.py (69), when the breakpoint stops here, rc = os.spawnv(os.P_WAIT, executable, cmd) The corresponding parameters are written in samlpe, here is another sample of mine, which can also be installed on my PC, but cannot use DEBUG for Pycharm

https://github.com/michaellongge163/hellopythonextension
History
Date User Action Args
2022-01-31 09:12:43michaellonggesetrecipients: + michaellongge, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2022-01-31 09:12:43michaellonggesetmessageid: <1643620363.52.0.781449021841.issue46578@roundup.psfhosted.org>
2022-01-31 09:12:43michaellonggelinkissue46578 messages
2022-01-31 09:12:43michaellonggecreate