DevAkre / SentimentArcs_WebApp

WebApp for the AI ensemble tool Sentiment Arcs
MIT License
2 stars 0 forks source link

Bug #1

Open hrlee2021 opened 7 months ago

hrlee2021 commented 7 months ago

Hi, I've encountered this bug:

(base) [my computer's name]:server Haram$ cd SentimentArcs_WebApp (base) [my computer's name]:SentimentArcs_WebApp Haram$ python -m venv venv (base) [my computer's name]:SentimentArcs_WebApp Haram$ source venv/bin/activate (venv) (base) [my computer's name]:SentimentArcs_WebApp Haram$ pip install -r server/requirements.txt Processing /home/decaf/Projects/sentiment_ui/SentimentArcsPackage ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/System/Volumes/Data/home/decaf/Projects/sentiment_ui/SentimentArcsPackage

Could you help?

Best, Haram

DevAkre commented 7 months ago

SentimentArcs Package is a prerequisite, since this only the UI layer. Check the ReadMe for a link to the package.

After pulling that package, change the requirements.txt to reflect it's path. I'll see if I can do something on my end meanwhile

hrlee2021 commented 7 months ago

Thanks for the quick response. I changed the requirements.txt to reflect a correct path. And it worked!

Yet, I encountered another error message after running the requirements.txt: ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10 ERROR: Could not find a version that satisfies the requirement sentarcs (unavailable) (from versions: none) ERROR: No matching distribution found for sentarcs (unavailable)

And I tried to run "python server/server.py", and encountered another message: Traceback (most recent call last): File "/Users/Haram/SentimentArcs_WebApp/server/server.py", line 1, in from flask import Flask, request, send_file, send_from_directory ModuleNotFoundError: No module named 'flask'

Can you help? Thanks in advance!