a-real-ai/pywinassistant

Make an install guide

Closed this issue · 11 comments

Sure, enough, we've got two issues open:
"No module named core" and "Running error message, indicating no database files"

The bottom line is that the installation/usage instructions are terrible. I'm trying to run this in a virtual environment and hitting both of these issues. There is no chance I'm running outside an environment given it breaks itself. If you want people to use your project, you need to figure out how to make it work simply on other machines, period!

This is a promising project. Fix the install guide or else no one will use it. Unbelievably lazy to provide zero installation instructions. I'm not interested in guessing what configuration you had on your machine, and neither is anyone else.

I understand that fixing simple import paths and generating a new file can be challenging for automated virtual bot systems.

Back in 2023 I purposely added those issues to avoid automated virtual bot systems to take advantage of this project, thus avoiding bot usage from bad actors as I wanted true human reviewers to gain knowledge of this algorithm to check the actual code.

Now that this project gained relevance and is broadly public, those issues are no longer necessary to maintain off radar from automated virtual bot systems.

Thank you for the issue submitted and your time trying to fix those issues, expect the complete and easiest installation guide soon Q3 2024. Also I'm working on integrating it as a simple library install with PIP.

Installation instructions from my personal debugging.
Download all
move driver to core folder
remove all the "core." from the imports
install missing packages pyaudio
create a file history.db in core folder an delete the database
add your api keys
make sure u have a billing plan on openai
make sure you cd into core folder and start assistant.py

oh yeah and install speechRecognition not speech_recognition, but dont change it in the imports

Got it running in like 10 min

@Razorbob thank you so much! You rock man! If you have further questions, issues or suggestions don't hesitate opening new threads in this repo. Thank you for your time.

@henyckma added a pr

move all the "core." from the imports
create a file history.db in core folder an delete the database

@Razorbob Could you clarify this a bit? Going to try to get this running with Groq cloud, and can't even get it running at all yet. Also checked your PR.

@henyckma came across this project today and I knew something was phishy when there was no history.db file. Nice work. Big fan.

where to insert the api keys? Also the created history.db should be empty?

Installation instructions from my personal debugging. Download all move driver to core folder remove all the "core." from the imports install missing packages pyaudio create a file history.db in core folder an delete the database add your api keys make sure u have a billing plan on openai make sure you cd into core folder and start assistant.py

what do you mean delete the database? there is no database inside core or elsewhere.also where do we import the api keys? please can you make it more clear for people who are not that good at these things pls?

I created Database folder in core and put history.db into it.