Troubleshooting

Note

Do not hesitate to reach me by filling an issue on GitHub. I will do my best to help you. Please give me as much detail as possible, so I can reproduce the problem: OS, development environment, Python version…

(Windows) Microsoft Visual C++ 14.0 or greater is required error

Usually happens when compiling the Cython modules.

  1. Go to visual studio website and download Build Tools.

  2. Download and execute vs_BuildTools.exe.

  3. Check “C++ Development Desktop” checkbox.

  4. Install.

Todo

Allow for an easy way to skip Cython compilation.

Module not found

  1. Ensure that the Python environment where LightWin was installed is activated.
    • In a Python interpreter, the import lightwin command should not raise error.

  2. If you installed LightWin using conda, check that the src/lighwin/ folder is in your PYTHONPATH environment variable.