You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with open(os.devnull, 'w') as devnull:
for i, path in enumerate(paths):
cmd = "binvox -d {0} -cb -e {1}".format(voxsize, path)
ret = subprocess.check_call(cmd.split(' '), stdout=devnull, stderr=devnull)
if ret != 0:
print ("error", i, path)
else:
print (i, path)
"
It do not work, The system shows:
File "C:\Users\20185290\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\subprocess.py", line 957, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
May I know what happen to the system?
The text was updated successfully, but these errors were encountered:
with open(os.devnull, 'w') as devnull:
for i, path in enumerate(paths):
cmd = "binvox -d {0} -cb -e {1}".format(voxsize, path)
ret = subprocess.check_call(cmd.split(' '), stdout=devnull, stderr=devnull)
if ret != 0:
print ("error", i, path)
else:
print (i, path)
"
It do not work, The system shows:
File "C:\Users\20185290\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\subprocess.py", line 957, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
when I write like you shown in the "How to run the code", like below:
"
import glob
import os
import subprocess
import sys
voxsize = 32
paths = glob.glob("C:/Users/20185290/Desktop/New folder (4)/*.stl")
print ("number of data:", len(paths))
with open(os.devnull, 'w') as devnull:
for i, path in enumerate(paths):
cmd = "binvox -d {0} -cb -e {1}".format(voxsize, path)
ret = subprocess.check_call(cmd.split(' '), stdout=devnull, stderr=devnull)
if ret != 0:
print ("error", i, path)
else:
print (i, path)
"
It do not work, The system shows:
File "C:\Users\20185290\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\subprocess.py", line 957, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
May I know what happen to the system?
The text was updated successfully, but these errors were encountered: