Skip to content

No module named 'fcntl' When Running SRC on Windows

Hi, I wanted to share an issue I encountered while trying to use SRC on Windows, in case it’s useful for the project or other users. I’m running Windows 10 and attempted to set up SRC for versioning individual configuration files (e.g., init.el, settings.ini, config.csv) using Emacs VC mode.

Issue Description: When running python src version from the command line in C:\Program Files (x86)\SRC, I received the following error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\SRC\src", line 82, in <module>
    import struct, fcntl, termios, errno, inspect, pydoc
ModuleNotFoundError: No module named 'fcntl'

Additional note: I have installed RCS version 5.10.1, which is newer than the GNU RCS 5.9.4 mentioned in the Installing SRC documentation.