On Wed, Jun 13, 2018 at 10:59 PM, Brian Estey <esteyb@xxxxxxxxxxxx> wrote:
> Has any been able to get Xiaofan Chen's new libftdi windows build working
> with Python 3.6 64 bit? The build works perfectly with Python 3.6 32 bit,
> but when I import ftdi1 in the 64 bit version I get the classic
> "ImportError: DLL load failed: The specified module could not be found."
>
Interestingly it works for me. I am using Python.org download with
pywin32 extensions. Not so sure if that matters.
https://github.com/mhammond/pywin32/releases
You need to put the libftdi 64bit dll and libusb 64bit dll in the
path where your Python installation can find.
The following is under a virtual environment. I have not tried
Python 3.6 32bit yet.
(playusb) c:\work\libftdi\libftdi\python\examples>python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
(playusb) c:\work\libftdi\libftdi\python\examples>python simple.py
[FTDI version] major: 1, minor: 4, micro: 0, version_str: 1.4,
snapshot_str: v1.4-12-g91dbb65
ftdi.usb_open(): 0
ftdi.set_baudrate(): 0
--
Xiaofan
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|