HackerShackOfficial / AI-Smart-Mirror

Smart Mirror with a smart AI 🤖
MIT License
536 stars 217 forks source link

getting error when trying to start bot.py #66

Open cybermritunjay opened 6 years ago

cybermritunjay commented 6 years ago

Traceback (most recent call last): File "bot.py", line 12, in from nlg import NLG File "/home/flux/MagicMirror/AI-Smart-Mirror/nlg.py", line 7, in gateway = launch_py4j_server() File "/home/flux/MagicMirror/AI-Smart-Mirror/py4j_server/init.py", line 31, in launch_py4j_server stdout=PIPE, stdin=PIPE) File "/usr/lib/python2.7/subprocess.py", line 390, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

darshank26 commented 6 years ago

Even I got the same error can somebody got a solution for this error...

darshank26 commented 6 years ago

@cybermritunjay did you got the solution for this problem?

akshaybahadur21 commented 6 years ago

Are you guys deploying it in windows?

cybermritunjay commented 6 years ago

@darshank26 no bro

cybermritunjay commented 6 years ago

I m devloping it in ubuntu 17 @akshaybahadur21

darshank26 commented 6 years ago

@akshaybahadur21 yes I'm using window

akshaybahadur21 commented 6 years ago

this issue is common in windows. Try ubuntu This issue is not in ubuntu 16

cybermritunjay commented 6 years ago

Got it solved

Josh4you commented 6 years ago

Hey, guys please help me out. I too get this error when I start the bot.py file.I am using linux Mint

Josh4you commented 6 years ago

Alright, so as per the code says in int.py file you need to have java in your System or OS. so install the latest version of JDK and JRE to solve this issue.

darshank26 commented 6 years ago

@akshaybahadur21 is there no solution for windows system ???