We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
getting this error while running the test files
PS E:\xampp\htdocs\profanity-check\tests> python .\test_profanity_check.py Traceback (most recent call last): File ".\test_profanity_check.py", line 1, in <module> from profanity_check import predict, predict_prob File "C:\Python27\lib\site-packages\profanity_check\__init__.py", line 1, in <module> from .profanity_check import predict, predict_prob File "C:\Python27\lib\site-packages\profanity_check\profanity_check.py", line 5, in <module> vectorizer = joblib.load(pkg_resources.resource_filename('profanity_check', 'data/vectorizer.joblib')) File "C:\Python27\lib\site-packages\sklearn\externals\joblib\numpy_pickle.py", line 598, in load obj = _unpickle(fobj, filename, mmap_mode) File "C:\Python27\lib\site-packages\sklearn\externals\joblib\numpy_pickle.py", line 526, in _unpickle obj = unpickler.load() File "C:\Python27\lib\pickle.py", line 864, in load dispatch[key](self) File "C:\Python27\lib\pickle.py", line 892, in load_proto raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3
I am new in python, please forgive me if this is such a silly issue. thanks in advance!!
The text was updated successfully, but these errors were encountered:
You need to install pytest in your virtual env and then test with it.
Try pip3 install pytest ... pytest.
pip3 install pytest
pytest
Sorry, something went wrong.
No branches or pull requests
getting this error while running the test files
I am new in python, please forgive me if this is such a silly issue. thanks in advance!!
The text was updated successfully, but these errors were encountered: