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

Error on running script #177

Open
CarinaSchoppe opened this issue Jan 17, 2022 · 0 comments
Open

Error on running script #177

CarinaSchoppe opened this issue Jan 17, 2022 · 0 comments

Comments

@CarinaSchoppe
Copy link

Traceback (most recent call last):
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 74, in
test()
File "C:\Users\Carina\ProgrammingProjects\KaterynaSuperProf\twitter_analysis.py", line 68, in test
sonar = Sonar()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\hatesonar\api.py", line 21, in init
self.estimator = joblib.load(model_file)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1213, in load
dispatchkey[0]
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1529, in load_global
klass = self.find_class(module, name)
File "C:\Users\Carina\AppData\Local\Programs\Python\Python310\lib\pickle.py", line 1580, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.linear_model.logistic'

Process finished with exit code 1

Code:
def test():
sonar = Sonar()
sonar.ping(text="I hate you")

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

1 participant