jbrew / pt-voicebox

predictive text interface
MIT License
286 stars 68 forks source link

Help with Windows 8.1 #26

Open ambaharmony opened 7 years ago

ambaharmony commented 7 years ago

I previously got this to work on Windows 8.1, but had to factory reset my laptop and now can't remember how I did it, whoops. I'm very, very new to programming.

I installed Python 2.7, downloaded and extracted pt-voicebox, and added Python to my environment variables. Then I tried to run the predictive text program through the command prompt.

When I change the directory to the folder where voicebox.py is located, and try to run it with "python voicebox.py", I've been getting the following:

"Traceback : File voicebox.py, line 14, in from .corpus import Corpus Value Error: Attempted relative import in non-package"

Does anyone know what I'm possibly doing wrong? Thanks in advance~

incoreygible commented 7 years ago

You changed the directory to one folder too deep:

Also make sure you have the nose and six packages installed. This worked for me.