RESOLVED CONFIGURATION CHANGED 179541
[Windows] ActivePython cannot find logilab.astng module because of logilab.common in site-package
https://bugs.webkit.org/show_bug.cgi?id=179541
Summary [Windows] ActivePython cannot find logilab.astng module because of logilab.co...
Basuke Suzuki
Reported 2017-11-10 12:23:41 PST
ActivePython's installer installs logilab-common package into site-package, but not logilab-astng. Even if WebKitPy installs third party libraries by itself and sys.path is setup correctly, the packages in site-package have an priority to be loaded which prevent to import logilab.astng in the thirdpary/autoinstalled directory. The workaround is to install logilab-astng manually globally, but that is not the right solution.
Attachments
Basuke Suzuki
Comment 1 2017-11-10 12:25:20 PST
python's cli argument "-S" disables site-package which solve this issue, but need to figure out for the possibility of other new issue.
Basuke Suzuki
Comment 2 2017-11-10 12:32:09 PST
Actually "-S" doesn't work well because it prevents to load primitive modules.
Basuke Suzuki
Comment 3 2017-11-10 12:36:44 PST
I confirmed this issue also happens on Mac if logilab-common is installed globally.
Note You need to log in before you can comment on or make changes to this bug.