spacyr icon indicating copy to clipboard operation
spacyr copied to clipboard

Failing Github action

Open JBGruber opened this issue 9 months ago • 0 comments

The GitHub action is failing on the Windows and macOS runners (e.g., https://github.com/quanteda/spacyr/actions/runs/9132473287). I think the culprit is an additionally set virtual environment. From the Windows runner:

('C:/Users/runneradmin/AppData/Local/Temp/Rtmp6r0u57/working_dir/RtmpItEnOz/test-env162ced0b68/Scripts/python.exe')
cannot be used, as another version of Python
('C:/Users/runneradmin/Documents/.virtualenvs/r-spacyr/Scripts/python.exe')
has already been initialized. Please restart the R session if you need

I'm not sure why this "test-env162ced0b68" was created. A similar thing happens on macOS and Linux as well. But on Linux it's just a warning. I assume r-lib/actions/check-r-package@v2 is setting up another Python env, which creates a conflict.

JBGruber avatar May 18 '24 06:05 JBGruber