dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
Other
337 stars 122 forks source link

Regex package fails to compile during install #894

Closed LexiconCode closed 3 years ago

LexiconCode commented 3 years ago

Describe the bug Error during install regex package: error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

The underlying issue is "Microsoft Compilers for Python 2.7" is no longer supported by Microsoft. All download references have been removed from the Microsoft website.

Temporary Workaround: Install a precompiled regex package.(regex) Search for and download regex file ending in -cp27-cp27m-win32.whl Command prompt example pip install regex-2020.1.8-cp27-cp27m-win32.whl from the download location.

To Reproduce

  1. Install dragonfly on Python 2.7
  2. regex fails to compile

Expected behavior regex should compile

System: Windows 10

This will be fixed upstream in dragonfly replacing regex with re

LexiconCode commented 3 years ago

Temporary workaround resolved in https://github.com/dictation-toolbox/Caster/commit/86ab9ab63b18f4e68443dd42d37f6e4cdd7acb18 for CI

Documentation for end-user https://github.com/dictation-toolbox/Caster/commit/64d4a4f4a2072aed297efcc663ac1c24d8126d72