Jan,

Perhaps amforth-shell.py is trying to execute one of the versions of
python you have on your machine that does not have the required serial
module installed or configured. The following might shed some light on
the problem but comes with no warranty. Proceed at your own risk.

In an OS X terminal, for your versions of python that import serial
without error type

your-version-of-python --version

Choose one that is version 2.7.X (where X is some number)

For that one type

which your-version-of-python 

Make a note of the outputted full path

Then from the your-amforth-install/tools directory type

cp amforth-shell.py backup-amforth-shell.py

head -1 amforth-shell.py 

Compare the output with the full path of the python program you noted
above. If different, using an editor, replace the full path of the
python executable in amforth-shell.py with the one you noted above.

Regards,
Tristan


On 25Oct18 12:00, Jan Kromhout via Amforth-devel wrote:
> Thanks Tristan,
> 
> When I run it get the error “no module named serial”
> Check my versions of Python and when I type "import serial” there is no 
> problem. So I don’t know how to fix this!
> 
> Cheers,
> 
> Jan
> 
> 
> 
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to