I am trying to run a simple code here and I am getting this error. I am using Python3 on pycharm env.
Code:
import pickle
with open('labels.pkl', 'rb') as f:
data = pickle.load(f)
Is there a workaround to open and view what is inside this file? Thanks.
Sorry, I was able to fix it by running this code on the python3 terminal.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.