moving python lxml module to a remote directory
I've just spent an hour looking this up and I can't seem to find the
answer. I'm running a number of windows workstations and a few linux
servers. To keep python module machine installs at a minimum, I'm
installing new modules to my machine, then looking at the install log and
copying the files to a location on a server. Every machine sees the server
location and the environments and paths are set up and this has been
working fine for months.
I just installed lxml and copied the site-packages/lxml directory to the
server.
The local install works, the server install doesn't. I get:
from lxml import etree
# Error: DLL load failed: The specified module could not be found.
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# ImportError: DLL load failed: The specified module could not be found. #
I grepped the local python26 directory for all 'lxml' files and I'm not
coming up with anything I haven't copied over. versions= python 2.6.6
lxml-3.2.3.win-amd64-py2.6 Anyone have any thoughts? How come I haven't
seen this issue with other modules?
thanks smart people!
No comments:
Post a Comment