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

cannot run the script nb_author_id.py #333

Open
Dilylam opened this issue Oct 31, 2021 · 1 comment
Open

cannot run the script nb_author_id.py #333

Dilylam opened this issue Oct 31, 2021 · 1 comment

Comments

@Dilylam
Copy link

Dilylam commented Oct 31, 2021

Hello everyone,

I am running the script nb_author_id.py from the "naive_bayes" folder and I am using python 2.7.9
It doesnt work. I get this error.

D:\ML_udacity\ud120-projects\naive_bayes>python nb_author_id.py
Traceback (most recent call last):
File "nb_author_id.py", line 16, in
from email_preprocess import preprocess
File "../tools/email_preprocess.py", line 3, in
import joblib
File "C:\Python27\lib\site-packages\joblib_init_.py", line 113, in
from .memory import Memory, MemorizedResult, register_store_backend
File "C:\Python27\lib\site-packages\joblib\memory.py", line 271
raise new_exc from exc
^
SyntaxError: invalid syntax

Can someone please help me how I can solve this? In Pycharm nb_author_id.py does not work either, I have this error "Unresolved reference email_preprocess".

Thanks in advance.

@styles3544
Copy link

Same for me

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