Closed MachineGUN001 closed 6 months ago
Thanks for the interest in QSARtuna/Qptuna. I have not tested the package on Windows and this does seem related to specific OS behaviour.
From your logs, it looks like there are insufficient permissions to write to the Users\AppData\Local\Temp* location on your machine. This folder has been selected by the temp file Python package (not a specific QSARtuna function) as the location to write the chemprop model to.
Without the ability to test the code it might be difficult to resolve this for you. I can help with some suggestions from my side.
Can you ensure you are running Python with administration privileges?
Alternatively, I found the following SO page here: https://stackoverflow.com/questions/59522627/how-to-set-up-the-temp-dir-path-in-python.
The directory named by the TMPDIR environment variable. The directory named by the TEMP environment variable. The directory named by the TMP environment variable. A platform-specific location: On Windows, the directories C:\TEMP, C:\TMP, \TEMP, and \TMP, in that order. On all other platforms, the directories /tmp, /var/tmp, and /usr/tmp, in that order. As a last resort, the current working directory.
You could try changing some of those environment variables to an alternative directory (that you are sure you can write to- e.g. like the suggestion says the current working dir).
thanks for your kind explanation and suggestions
hi,
while I try to run the chemprop part, by following the example of the most basic ChemProp run, which will train the algorithm using the recommended (sensible) defaults for the MPNN architecture.
the error occured.
my OS is windows 10, with python 3.10.12
why can't I acess the temp folder? could you please provide some suggestions how to fix it up? many thanks,