Can't build package dclP4DEnvironmentProject.bpl [Exec Error]
monko9j1 opened this issue · 4 comments
when i attempt to build package dclP4DEnvironmentProject.bpl
It gives me errors:
[Exec Error] EXEC(1): Invalid syntax.
[Exec Error] The command "..\reg_env.bat 22.0 "K:\PythonEnvironments-main\packages.."
" exited with code 1.
followed by a dialog:
Error
Cannot open file "K:\PythonEnvironments-main\packages\EXEC". The system cannot find the file specified.
How do solve this problem?
@monko9j1 it seems the IDE is unable to find the reg_env.bat script. Can you confirm it exists and you're using the right project? Consider cloning the repository again.
@monko9j1 we have just released a new version. Can you check if this issue is gone?
It's not, but I know what the problem is. If you're installing it into a directory with SPACES in it the process fails because you are missing quotes in the reg add command line.
The easy correction it to add quotes around %PYENVPATH% so it is "%PYENVPATH%" and boom, it works.