sky-uk / bslint

A linter for the BrightScript language.
BSD 3-Clause "New" or "Revised" License
24 stars 9 forks source link

Cannot install on Windows 10 #170

Open Wadimir opened 4 years ago

Wadimir commented 4 years ago

Bslint uses libraries which does not exist for windows 64bit. I tried this with python 32bit and get an error related to the OS (source_process = _winapi.OpenProcess(OSError: [WinError 87] The parameter is incorrect). I tried this with python 64bit and get an error related to 'enchant' C library. Such a library does not exist for python 64bit.

a possible solution for python 32bit could be the following: multiprocessing in windows is different than linux/mac - specifically, windows uses spawn while linux/mac uses fork. You can tell multiprocessing to use spawn instead of fork by something like this

import multiprocessing multiprocessing.set_start_method('spawn')

Please fix it for Windows