thevickypedia / Jarvis

Fully Functional Voice Based Natural Language UI
https://jarvis-health.vigneshrao.com
MIT License
209 stars 41 forks source link

getting error while running jarvis.py #22

Closed jsdpr15 closed 2 years ago

jsdpr15 commented 2 years ago

Sir, i am get this error while Jarvis.py " from resource import RUSAGE_SELF, getrusage ModuleNotFoundError: No module named 'resource'"

Python Version : 3.10.3 Windows : 11 Pro

thevickypedia commented 2 years ago

Jarvis works only on MacOS https://github.com/thevickypedia/Jarvis#readme#:~:text=Platform%20Supported

Windows support was deprecated as of commit: https://github.com/thevickypedia/Jarvis/commit/cf54b69363440d20e21ba406e4972eb058af98fc

I'm currently working on getting back Windows support.

thevickypedia commented 2 years ago

Windows support is now back and tested working in a Win 10 machine. I'm not aware of any potential changes for Win 11. You can check and update me if something obvious needs fixing.

jsdpr15 commented 2 years ago

Getting this error

Traceback (most recent call last): File "C:\Users\J\Desktop\O Level Project\New\Jarvis-master\Jarvis-master\jarvis.py", line 14, in from executors.commander import initiator File "C:\Users\J\Desktop\O Level Project\New\Jarvis-master\Jarvis-master\executors\commander.py", line 8, in from executors.conditions import conditions File "C:\Users\J\Desktop\O Level Project\New\Jarvis-master\Jarvis-master\executors\conditions.py", line 10, in from executors.date_time import current_date, current_time File "C:\Users\J\Desktop\O Level Project\New\Jarvis-master\Jarvis-master\executors\date_time.py", line 7, in from executors.location import geo_locator File "C:\Users\J\Desktop\O Level Project\New\Jarvis-master\Jarvis-master\executors\location.py", line 22, in from speedtest import Speedtest ImportError: cannot import name 'Speedtest' from 'speedtest' (C:\Python\Python310\lib\site-packages\speedtest__init__.py)

Please check WIndows 11 Pro

thevickypedia commented 2 years ago

Speedtest is an external module from speedtest-cli Can you check if the module is installed with the right version. https://github.com/thevickypedia/Jarvis/blob/master/lib/win_requirements.txt#L30 I'd suggest running pip uninstall --no-cache-dir speedtest-cli and then run pip install --no-cache speedtest-cli==2.1.3

thevickypedia commented 2 years ago

I'm closing this issue, please re-open or create a new issue if you still have issues starting up Jarvis