PermissionError: [Errno 13] Permission granted

Project scenario:

VQA

When debugging the VQA code, the problem occurred

Problem Description

项目中遇到的问题:PermissionError: [Errno 13] Permissi

Error command line:

with open(infile, "r+b") as tsv_in_file:
	reader = csv.DictReader(tsv_in_file, delimiter='\t', fieldnames=FIELDNAMES)
       

Cause Analysis:

Tip: Fill in the analysis of the question here:

I don't know why, but I tried many methods on the Internet, but it didn't work. Finally, my classmates helped me solve it. Take a note.

Running cells with 'Python 3.10.4 ('lingling')' requires the ipykernel package.
Run the following command to install "ipykernel" into your Python environment.

Command: 'conda install -n lingling ipykernel --update-deps --force-reload'


solution:

conda install -n lingling ipykernel --update-deps --force-reinstall

Execute the above command on the terminal page to solve
(reinstall ipykernel)

Guess you like

Origin blog.csdn.net/weixin_44845357/article/details/127925379