Discussion:
libftdi Windows binary 64 bit
Brian Estey
2018-06-13 14:59:16 UTC
Permalink
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."

Any suggestions?

-Estey


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+***@developer.intra2net.com
Xiaofan Chen
2018-06-14 06:13:47 UTC
Permalink
Post by Brian Estey
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.
Post by Brian Estey
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+***@developer.intra2net.com
Xiaofan Chen
2018-06-14 07:21:43 UTC
Permalink
Post by Xiaofan Chen
Post by Brian Estey
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.
You are right, I use another PC and I got the same problem as you.
Let me check again over the weekend.
--
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+***@developer.intra2net.com
Xiaofan Chen
2018-06-14 14:09:28 UTC
Permalink
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by Brian Estey
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.
You are right, I use another PC and I got the same problem as you.
Let me check again over the weekend.
I just uploaded a new packages with the hopefully working Python 3.6
64bit bindings, please try it. Thanks.

https://sourceforge.net/projects/picusb/files/?source=navbar
File name: libftdi1-1.4git_devkit_x86_x64_14June2018.7z
Only two files have been changed.
--
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+***@developer.intra2net.com
Brian Estey
2018-06-14 22:05:43 UTC
Permalink
Works perfectly now, thanks Xiaofan!
Post by Brian Estey
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by Brian Estey
Has any been able to get Xiaofan Chen's new libftdi windows build
working
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by Brian Estey
with Python 3.6 64 bit? The build works perfectly with Python 3.6 32
bit,
Post by Xiaofan Chen
Post by Xiaofan Chen
Post by Brian Estey
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."
Post by Xiaofan Chen
Post by Xiaofan Chen
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.
You are right, I use another PC and I got the same problem as you.
Let me check again over the weekend.
I just uploaded a new packages with the hopefully working Python 3.6
64bit bindings, please try it. Thanks.
https://sourceforge.net/projects/picusb/files/?source=navbar
File name: libftdi1-1.4git_devkit_x86_x64_14June2018.7z
Only two files have been changed.
--
Xiaofan
--
libftdi - see http://secure-web.cisco.com/1aEEQzL67YX_
DcVgbhIx79GcSmFwautJEcOWrpRB-fnWuVhckkVzC_vjX8UBEqTHbtQ0A9cJzPx5wNPDf9cA
kfr9JsDJnz0YkeRWhgM7jlWM1g6jwQY5ZAP-G4uVwmtvS1l5mW9yVMJG62Dnb_
9r1ZlNnz0j06FTr7cPxjnf3t1klwifEvryrqHSbdv-KSipklEdKZ_fFq7drisAAsCccM4-
XMmFQA33ttaenMJfQlCa28M5yDtdCsC-ey98_p5XECQd__
UvlHlDafwVmj2B09hPu6hOFCVZjUMteqgbJbSUialMtz113j-
xNeUim4sx2hSjzzRjMuqEPV3R2DrTva934r_8WNEzS1EjK8QWIITLKAoo4Bfyf7dxsppt8_Q_
iV01ZNAvGPgnvFz3LrjYaVej5hkmtvMEGRkgKNsnTsbEbGihCW1igwMhT0L5
43T30JIjLWrmfKgN99DgGUZlz9g/http%3A%2F%2Fwww.intra2net.
com%2Fen%2Fdeveloper%2Flibftdi for details.
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+***@developer.intra2net.com
Xiaofan Chen
2018-06-15 00:30:20 UTC
Permalink
Post by Brian Estey
Works perfectly now, thanks Xiaofan!
Thanks for reporting back. I have deleted the old version.
--
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+***@developer.intra2net.com
Loading...