程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

How to handle the error of Python installation fasttext

編輯:Python

List of articles

  • Problem description
  • resolvent

NLP We need to use fasttext To deal with it , stay Python Install in fasttext Times wrong , See how to solve .

Problem description

direct pip install fasttext The following errors will be reported during installation :
Installation required Microsoft Visual C++ 14.0.

resolvent

terms of settlement : Go to https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext To find the corresponding python Version of package download .

After open the cmd, Enter download directory , perform :pip install fasttext-0.9.2-cp38-cp38-win_amd64.whl that will do .

Pay attention to : Process data set as fastText Standard data format , Such as prefix + label + comma + participle , Such as ‘__label__0 , Medical Science Research The surface of the Cure novel coronavirus Pneumonia success ’. Add and use '__label__' Prefix .

Please refer to the official website for details :

fasttext API

Welcome to my official account. 【SOTA Technology interconnection 】, I will share more dry goods .


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved