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

WA Reader locally does not work w/o further explanation #75

Closed
Kassiopeia-2002 opened this issue Mar 29, 2021 · 5 comments
Closed

WA Reader locally does not work w/o further explanation #75

Kassiopeia-2002 opened this issue Mar 29, 2021 · 5 comments
Labels

Comments

@Kassiopeia-2002
Copy link

Hi, I've downloaded the python 3.9 to run the WA Reader locally, but unfortunately it doesn't work :-(
It's not clear how to make all setups as described - especially the part "source venv/bin/activate". ???
So, I would like to ask you if there is a detailed manual available for this tool so that a beginner is able to use it?
The very short description you have published is not very helpfull, I'm sorry (but as I said: I'm a beginner w/o experiences at all).
Btw: Python seems to work correctly at my Windows 10 computer.
Thank you very much.
Regards,
Kassiopeia-2002

@prabhakar267
Copy link
Owner

@Kassiopeia-2002 If you follow the setup instructions step-by-step, you should be able to run the project locally.
In case you face any specific issue, please feel free to post that.

@Kassiopeia-2002
Copy link
Author

@prabhakar267 , your are right: "...you should be able..." , but I AM NOT.
I followed the setup instructions step-by-step, but w/o results (except the fact that Python 3.9 seems to run correctly).
Why isn't it possible to give me (and others) a clear description? I can't understand it.

But ok, lets go through your explanations:

Requires Python3 to run locally. See instructions to setup Python3.
Which instructions? There is none specific (or better: all about Python). I can download Python and install it - ok, and this I’ve done so.

• “Clone the project from source
I’ve downloaded WA-Reader via your link, opened the ZIP-file and stored the content at my D-Drive with the directory “D:\WA-Reader\WA-Reader-master”

git clone https://github.com/prabhakar267/WA-Reader && cd WA-Reader
??? Haven't I already done that with the last step?? OR what is “git clone …” meaning? Causes error messages at my command editor or Python editor !

• “Setup virtual environment
I’ve tried it with your following two lines (the third line failed!):

pip install virtualenv” => done successfully with a large confirmation text
virtualenv venv --python=python3.7” => done successfully with a large confirmation text
(but by the way: why “python3.7 as I’ve downloaded the python3.9.2” ?)
source venv/bin/activate”: No idea what to do here: “Source” isn’t a command at the command editor nor in Python ?? !!

• “Install all dependencies
pip install -r requirements.txt” => Done successfully (as far as I know)

• “Run server
python app.py“ => Got a long list of error messages – starting with
"C:\Users\MyName\AppData\Local\Programs\Python\Python39>python D:\WA-Reader\WA-Reader-master\app.py
Traceback (most recent call last):
File "D:\WA-Reader\WA-Reader-master\app.py", line 8, in app = Flask(name) (…)" and so one.

So I’m coming back with my question from my first request: How does WA-Reader run and work correctly? It is still absolutely unclear.
Thank you again.
Regards,
Kassiopeia-2002

@prabhakar267
Copy link
Owner

@Kassiopeia-2002 I think there is a issue with your understanding of virtual environments.
Can you confirm if the virtual env was setup correctly and you have all the dependencies properly installed?

If you are not familar with the concept of virtual envs, please refer to this blog.
https://www.dabapps.com/blog/introduction-to-pip-and-virtualenv-python

@Kassiopeia-2002
Copy link
Author

Kassiopeia-2002 commented Mar 30, 2021 via email

@prabhakar267
Copy link
Owner

Closing this issue because of disappointment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants