Script exit with no output
./venv/lib/python3.6/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator KMeans from version 0.22.1 when using version 0.23.1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
Traceback (most recent call last):
File "tgnews.py", line 109, in <module>
news_handle(input_filenames)
File "tgnews.py", line 51, in news_handle
print(dumps(n_c.predict_news(file_names_list)))
File "./clustering/news_type.py", line 80, in predict_news
clusters = self.cluster_predict(corpus[target_lang], target_lang)
File "./clustering/news_type.py", line 59, in cluster_predict
return self.cluster_algo_ru.predict(vectors)
File "./clustering/algos/k_mean_algo.py", line 18, in predict
return self.wrapped.predict(data)
File "./venv/lib/python3.6/site-packages/sklearn/cluster/_kmeans.py", line 1188, in predict
self.cluster_centers_, self._n_threads)[0]
AttributeError: 'KMeans' object has no attribute '_n_threads'