Sentiment Analysis plugin - Error No module named 'fasttext'

spiderzaur
spiderzaur Registered Posts: 7

Another issue.

When I was installing the plugin, it wanted me to upgrade the pip, which I did then and selected that environment and associated the plugin with it.

Run: C:\Users\AliyevZa\AppData\Local\Dataiku\DataScienceStudio\dss_home\code-envs\python\plugin_sentiment-analysis_managed\Scripts\python.exe -m pip install --upgrade pip

Now, when I am trying to Run it, it gives me this error.

Error in Python process: At line 8: <class 'ModuleNotFoundError'>: No module named 'fasttext'

See attached full log for details pls.

Appreciate any help.

Screenshot 2024-03-31 13-04-43.png


Operating system used: Windows 10

Best Answer

  • Sarina
    Sarina Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 317 Dataiker
    edited July 17 Answer ✓

    Hi @spiderzaur
    ,

    It looks like the code environment build failed due to the following error:

          error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    


    It looks like to install the code environment packages on windows you need to follow the instructions to install Microsoft Visual C++ 14.0 or greater, and then you'll need to rebuild the code environment from the code environment page by clicking on "Update". Please note that the windows version of DSS is indeed experimental, so you may wish to try installing DSS on Linux for continued use.

    Thanks,
    Sarina

Answers

Setup Info
    Tags
      Help me…