You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
If the environment variables differ between process and subprocess, cythonize can call incorrect version of cython. To repro/see why its an issue, try to build spaCy in a 32bit virtual environment with a 64bit system python. Subprocess calls will use 64bit python rather than 32bit python.
Steps to resolve:
subprocess calls in cythonize should use shell=True, env=os.environ args.
I can do a pull request if this is something you think should be done. Otherwise the code works fine when patched manually for my install.
Environment:
Python 2.7, Windows 7, spaCy v1.6.0
64bit system python with 32bit virtual environment
The text was updated successfully, but these errors were encountered:
timkpaine
changed the title
cythonize subprocess calls should inherit calling environment
cythonize subprocess calls should use calling environment
Jan 31, 2017
Summary:
If the environment variables differ between process and subprocess, cythonize can call incorrect version of cython. To repro/see why its an issue, try to build spaCy in a 32bit virtual environment with a 64bit system python. Subprocess calls will use 64bit python rather than 32bit python.
Steps to resolve:
subprocess calls in cythonize should use shell=True, env=os.environ args.
I can do a pull request if this is something you think should be done. Otherwise the code works fine when patched manually for my install.
Environment:
Python 2.7, Windows 7, spaCy v1.6.0
64bit system python with 32bit virtual environment
The text was updated successfully, but these errors were encountered: