sukeesh / Jarvis

Personal Assistant for Linux and macOS
MIT License
3.02k stars 1.04k forks source link

Non-ASCII character '\xe2' in file jarvis.py on line 4 #494

Closed AibelKingslayer closed 5 years ago

AibelKingslayer commented 5 years ago

File "jarvis.py", line 4 SyntaxError: Non-ASCII character '\xe2' in file jarvis.py on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

AibelKingslayer commented 5 years ago

please plaese please help me

pnhofmann commented 5 years ago

Hi! That's an interesting error and can't reproduce. Could you provide more information (os, python version, branch)? Line 4 of Jarvis.py is actually just: from colorama import Fore But it is actually 'Jarvis.py' and not 'jarvis.py'. Strange...

AibelKingslayer commented 5 years ago

thank you for your reply my os parrot sec os python 2.7

pnhofmann commented 5 years ago

Hmm, could you try cleaning python cache:

(in Jarvis directory)

find . -name '*.pyc' -delete
find . -name  __pycache__ -delete 
AibelKingslayer commented 5 years ago

ok

AibelKingslayer commented 5 years ago

bro the main file is Jarvis.py right

AibelKingslayer commented 5 years ago

but its not executing when i type sudo python Jarvis.py

AibelKingslayer commented 5 years ago

File "Jarvis.py", line 7, in from CmdInterpreter import CmdInterpreter File "/home/aibel/Jarvis/jarviscli/CmdInterpreter.py", line 10, in from utilities.voice import create_voice File "/home/aibel/Jarvis/jarviscli/utilities/voice.py", line 7, in import pyttsx3 ImportError: No module named pyttsx3

AibelKingslayer commented 5 years ago

pip install pyttsx3 Requirement already satisfied: pyttsx3 in ./.local/lib/python2.7/site-packages (2.7)

AibelKingslayer commented 5 years ago

still error bro please help me please

pnhofmann commented 5 years ago

sudo python Jarvis.py

Please no sudo!

bro the main file is Jarvis.py right

No - actually not. You need to run

./setup.sh

This will install all pip-requirements and create a start-script jarvis.sh.

AibelKingslayer commented 5 years ago

ok

AibelKingslayer commented 5 years ago

thanks bro now its working

pnhofmann commented 5 years ago

;)