X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=INSTALL.adoc;h=54be3561dbb2088e027c23bb26f1a12f719d498c;hb=37dc950dd64f11acdca13db23e6dff524ca44037;hp=3e733f34cc61270ab8658a596da2a16db2246dd1;hpb=9355882cac573b32e6223f0f08fb2dfe08f70e43;p=open-adventure.git diff --git a/INSTALL.adoc b/INSTALL.adoc index 3e733f3..54be356 100644 --- a/INSTALL.adoc +++ b/INSTALL.adoc @@ -1,5 +1,9 @@ = Installing Open Adventure = +The instructions below assume your system uses Python 3 by default, +but the actual Python code in Open Adventure is 2/3 agnostic. Adjust +the example commands below accordingly. + 1. Install PyYAML for Python 3 (which requires Python 3), and libedit (aka: editline) on your system. @@ -16,3 +20,10 @@ You can also use pip to install PyYAML: 'pip3 install PyYAML'. 3. Optionally run a regression test on the code with 'make check'. 4. Run the resulting 'advent' binary to play. + +If make returns the following message: + +./make_dungeon.py Traceback (most recent call last): File "./make_dungeon.py", line 10, in import sys, yaml ImportError: No module named yaml + +try editing make_dungeon.py to change #!/usr/bin/env python to read +#!/usr/bin/env python3