After many tribulation I've managed to setup and run Evennia under Windows 7 64-bit.
Since the first attempts failed, I'd like to share on the forum what worked for me and what didn't; hoping that it will help others in case they get stuck.
After failing badly to setup Evennia, I disinstalled Python and all other Python-related tools, and started afresh!
So here is how it worked smoothly at my second attempt:
1) I installed Python 2.7.9 64 bit ("python-2.7.9.amd64.msi") downloaded form
python.org During installation check all options, included the advanced ones.
2) I also installed Microsoft Visual C++ Compiler for Python 2.7, downloaded from:
It is not strictly required, but it does raise a warning when you build Twisted and and you don't have this package. It's worth having it anyway if you install Python!
3) Installing pyWin32: here is were things wen't badly wrong!
First I installed version 219 (64 bit), but it didn't work out at all.
So, to be safe, the second time I installed version 214 (64 bit).
You must start the installer with Admininstrative permissions.
Still, you might get an error at the end of the installation with DLL registration.
To be sure that it installed properly, after running the setup open a CMD Prompt WITH ADMIN PERMISSION, and then enter (cd) your Python folder (should be "C:/Python27"), until you get to the subfolder /Scripts/ ("C:\Python27\Scripts"), there you will find a script called "pywin32_postinstall.py".
Run it with "python pywin32_postinstall.py". This script will register the DLL and all other stuff required (but the CMD shell must have beem launched as administrator!)
4) Now everything is ready to setup Evennia according to the Wiki indications--and I went for the virtual enviroment solution, which is very simple.
5) To install the virtual environment, type:
pip install virtualenv
It went smooth, download and setup and all.
6) Now it's time to create the Evenna virtual environment folder.Still in "dos/shell/CMD" mdor, enter the directory where you wish to create this folder. Type
virtualenv mudenv
this will create the virtual environment in which to setup and run Evennia (and related tools) without affecting the main Python environment.
I haven't given it any special path, just created it under the python root.
7) Now move into the newly created folder/env, and in it's subdirectory Scripts
cd mudenv/scripts
You'll see a file called "activate.bat" Type
activate
And you'll notice that the prompt after this changes: it has "(mudenv)" at the left of the prompt-path!
NOTE: To exit the virtual-environment mode and return to normal Python workings, you'll just need to run the "deactivate.bat" script (inside the same "/Scripts/" folder)
8) At this step I donwloaded the source code of Evennia--Yes, without Git or anythin, just downloaded the all thing zipped, and unzipped it inside the root of the newly created "mudenv" folder.
9) Enter the folder of Evennia (where you'll find the file "requirements.txt") and type:
pip install -r requirements.txt
This will install Twisted, Django, ecc. All the required tools mentioned in the Wiki.
11) Now cd to the "game" subfolder:
cd game
And type these three lines in order (read all output and reply when needed)
python manage.py
python manage.py migrate
python evennia.py -i start
12 ) At this point, I still had problems with PYWIN32!!! Even if installed in the root of Python, when I tried to run Evennia in the last step I still got an error message that Python can't find Win32API (ie: pyWin32!). After many trials and fails, here is how I managed to install it also in the virtual environment:
This worked at first go! So, after this last problem solved, all I need was to retype " python evennia.py -i start " and Evennia didn't give me any more errors---it gave me more instructions about the ",bat" file tha would be my starting link from now on! Meaning it was working and accessible via Telnet.
So, to make a long story short, these were my errors and successes. Maybe the truth is in the middle (meaning, pyWin32 v214 is not the only one compatible, ecc.)
but at least this got me going. If you follow these steps you will be up and running withing 20-30 minutes (the time to install python and all other dependencies).
I hope it might help someone! It was a bit of a nightmare for me because I have no previous experience on using Python under windows. Maybe all this stuff makes more sense to others.
best regards
Tristano (Italy)