-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi there
I am not an expert in Python but this code is always giving me this error
(PermissionError: [WinError 32] The process cannot access the file because it is being used by another process)
There is only one application running which is anaconda with Admin privileges
Any help will be greatly appreciated
Thanks
Traceback (most recent call last):
File "C:\Users\User\Desktop\Python\python-video-generator\orchestrator.py", line 73, in generate_video
self.image_parser.retrieve_best_image(sentence)
File "C:\Users\User\Desktop\Python\python-video-generator\python_video_generator\image_parser\bing_image_retrieval.py", line 73, in retrieve_best_image
self.download_images(sentence)
File "C:\Users\User\Desktop\Python\python-video-generator\python_video_generator\image_parser\bing_image_retrieval.py", line 42, in download_images
bing.download_images(
File "C:\Users\User\Desktop\Python\python-video-generator\python_video_generator\video_editor\bing.py", line 65, in download_images
rename_images(image_dir, query)
File "C:\Users\User\Desktop\Python\python-video-generator\python_video_generator\video_editor\bing.py", line 85, in rename_images
os.rename(src, dst)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'images\funny video vlog blog\#tmp#_7.jpg' -> 'images\funny video vlog blog\funny video vlog blog_8.jpg'