From: Jeff A. <ja...@fa...> - 2018-09-08 17:52:36
|
I am not entirely sure of the mechanism, but it is something to do with the C runtime DLL having to match the one against which the executable was built. See https://stackoverflow.com/questions/32457341/pyinstaller-and-onefile-build-causes-error-loading-python-dll-error-code-14001, which suggests you can get the missing dependency from the MS site. Or it may be that installing a CPython 2.7 will supply it. If that does not work it may be necessary to go down to 2.7.0 until 2.7.2 is available. (Sorry, no simple date available.) It would be useful to hear how you get on. This is a tricky one to reproduce because jython.exe always runs perfectly on the machine where you built it. The section in the dev-guide captures what we believe is the necessary incantation to package the dependencies so it works everywhere in 2.7.2. I'm assuming in all this that you actually need Jython for other work. If this is only happening as part of the Sphinx plug-in, later versions (that use Python 3) have found a way to provide CPython as a binary. Jeff Allen On 07/09/2018 02:19, James Klo wrote: > > Greetings, > > We have a maven job which installs Jython, Sphinx, a custom Pygments > package we wrote that utilizes a Java library to parse a semantic > reasoning language, and all the dependencies so we can generate > documentation with color coded and formatted language examples. > > FWIW: all of our developers have historically been working on macOS or > Linux, and haven’t had a Windows developer in a while (like 2 years). > Anyways this user is getting this error: > > [INFO] --- maven-antrun-plugin:1.8:run (install-sphinx-doc) @ > sphinx-doc --- > > [INFO] Executing tasks > > main: > > [java] Performing silent installation > > [java] 10 % > > [java] 20 % > > [java] 30 % > > [java] 40 % > > [java] 50 % > > [java] 60 % > > [java] 70 % > > [java] Generating start scripts ... > > [java] Installing pip and setuptools > > [java] 90 % > > *[java] Error loading Python DLL: > Z:\source\sunflower-docs\doc\sphinx-doc\target\jython\bin\python27.dll > (error code 14001)* > > <snip> |