Pebaz / nimporter

Compile Nim Extensions for Python On Import!
MIT License
821 stars 33 forks source link

a workaround for subprocess issue in windows 10 #78

Closed YaDev closed 1 year ago

YaDev commented 1 year ago

I had an issue running nim and python using this package on my windows 10 pc using python 3.11.

It is not a problem in this project but in "subprocess" and "shutil" modules.

"subprocess" and "shutil" modules might not work well in windows.

For example: "shutil.which('vccexe')"

might return None

more info: https://bugs.python.org/issue24505

related issue: https://github.com/Pebaz/nimporter/issues/75

YaDev commented 1 year ago

I think this fix wont work all the time.

"subprocess" and "shutil" modules have issues in Windows 10 which might force users to reboot their devices to fix it.

closing PR.