gitlab - how do I delete python files made in a virtual environment - Stack Overflow

so, I wrote a pipeline script where I create a virtual environment using virtualenv. I had an error at

so, I wrote a pipeline script where I create a virtual environment using virtualenv. I had an error at startup, so I had to restart the pipeline. Only this time I got an error about permission denied, because gitlab cannot delete the files that I created in virtual environment.

warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/connection.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/_request_methods.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/filepost.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/_collections.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/_request_methods.py: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/py.typed: Permission denied warning: failed to remove my_bot/.gitignore: Permission denied Cleaning up project directory and file based variables ERROR: Job failed: exit status 1

how do I log in or delete these files, and even better, how can I avoid this in the future?

I'm new to gitlab, so I tried logging into my runner and running a virtual environment there, which I then deleted. Honestly, I don't have any ideas.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744261381a4565650.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信