Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnpicklingError("the STRING opcode argument must be quoted") for Windows #331

Closed
nrjanjanam opened this issue Sep 4, 2021 · 3 comments
Closed

Comments

@nrjanjanam
Copy link

nrjanjanam commented Sep 4, 2021

The following error occurs whenever I run nb_author_id.py

File "nb_author_id.py", line 22, in
features_train, features_test, labels_train, labels_test = preprocess()
File "../tools\email_preprocess.py", line 35, in preprocess
word_data = joblib.load(words_file_handler)
File "C:\Users\welcome\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 575, in load
obj = _unpickle(fobj)
File "C:\Users\welcome\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 504, in _unpickle
obj = unpickler.load()
File "C:\Users\welcome\Anaconda3\lib\pickle.py", line 1085, in load
dispatchkey[0]
File "C:\Users\welcome\Anaconda3\lib\pickle.py", line 1209, in load_string
raise UnpicklingError("the STRING opcode argument must be quoted")
_pickle.UnpicklingError: the STRING opcode argument must be quoted

@nrjanjanam
Copy link
Author

@Halfwayclover
Copy link

#181 (comment)
someone already posted a solution for this

@nrjanjanam
Copy link
Author

Ok, thanks for the response :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants