Ich habe versucht, Wand 0.4.4 auf einem Windows 7 (64 Bit) zu installieren.Installieren Sie Wand auf einer Windows-Maschine
Ich installierte ImageMagick-6.9.3-1-Q16-x64-dll.exe. Setzen Sie dann die Umgebungsvariable MAGICK_HOME auf den Pfad von ImageMagick. Schließlich habe ich Zauberstab durch Pip in Anaconda (Python 2.7.13) installiert.
Als ich 'von wand.image Import Bild' laufen bekomme ich folgende Fehlermeldung:
----> 2 from wand.image import Image
3 # from PIL import Image as PI
D:\Anaconda2\lib\site-packages\wand\image.py in <module>()
18
19 from . import compat
---> 20 from .api import MagickPixelPacket, libc, libmagick, library
21 from .color import Color
22 from .compat import (binary, binary_type, encode_filename, file_types,
D:\Anaconda2\lib\site-packages\wand\api.pyc in <module>()
178
179 try:
--> 180 libraries = load_library()
181 except (OSError, IOError):
182 msg = 'http://docs.wand-py.org/en/latest/guide/install.html'
D:\Anaconda2\lib\site-packages\wand\api.pyc in load_library()
124 try:
125 tried_paths.append(libwand_path)
--> 126 libwand = ctypes.CDLL(libwand_path)
127 if libwand_path == libmagick_path:
128 libmagick = libwand
D:\Anaconda2\lib\ctypes\__init__.pyc in __init__(self, name, mode, handle, use_errno, use_last_error)
360
361 if handle is None:
--> 362 self._handle = _dlopen(self._name, mode)
363 else:
364 self._handle = handle
TypeError: LoadLibrary() argument 1 must be string, not unicode
Was falsch los ist?
Dank! Ich habe das gemeldete Problem später gefunden und es hat das Problem gelöst. – essi