licoma133 0 Posted November 30, 2023 Hello, I'm trying to use the delphi4python library, as well as the PythonEnvironments library: https://github.com/Embarcadero/PythonEnvironments https://github.com/Embarcadero/python4delphi I have installed P4D successfully, for both 32bit and 64bit. However when trying to install PythonEnvironments, I face a issue for the design time package dclP4DEnvironmentProject.bpl. I get the following error message when attempting to build or install it: [Exec Error] EXEC(1): Invalid syntax. [Exec Error] The command "..\reg_env.bat 22.0 "K:\PythonEnvi\PythonEnvironments\packages\..\" " exited with code 1. This is followed up by a error dialog: --------------------------- Error --------------------------- Cannot open file "K:\PythonEnvi\PythonEnvironments\packages\EXEC". The system cannot find the file specified. --------------------------- OK --------------------------- I have looked inside the packages folder, and do not see a folder or file named EXEC. the closest thing I found is a folder named ExecCmd, which is at the path: PythonEnvironments\src\Tools\ExecCmd Your guidance in this matter would be greatly appreciated, thanks you! Share this post Link to post
KoRiF 1 Posted March 24 in order to untangle the tangle, first take a look at reg_env.bat and how the EXEC variable is initialized and used It’s difficult to answer in absentia, but it looks like an incorrect initialization of some parameter on your side, an environment variable, or a bug in the component itself try updating to the latest version, and then check the settings, explicitly specifying directories wherever possible Share this post Link to post