Could not use library "d2xx" for FTDI chips in python

Download the d2xx library from this site. Works fine on Windows7 with python2.6

List of extracted files. In Ubuntu 10.10 (Maverick Meerkat) I cannot go on. how to install files so i can import d2xx library

$ do
Makefile: 1: Makefile.conf: no such file or directory
make: * There is no rule for make target Makefile.conf. Stop.

$ sudo python setup.py install
Traceback (last last call):
File "setup.py", line 4, in
from conf import *
ImportError: no module named conf


I am using python 2.6. I can not continue the installation. !!

+4
source share
3 answers

It will appear that the PyUSB interface for FTDI drivers currently provides support for Windows.

+1
source

The libftdi drivers that use libusb have python bindings that will work on Linux. The api function is a little different, but it will do the same thing. libftdi and libusb can also be used on Windows if this is important.

http://idle-logic.com/2010/12/13/libftdi-v0-18-with-ubuntu-lucid-lynx/

This blog post describes a project in which it uses the python-wrapped libftdi libraries that it uses to program FPGA via USB.

+3
source

Although PyUSB is officially only supported on Windows, it can also be created for Linux. There are three procedures that did not have the linux equivalent (well, maybe they do it, but I did not look at them), but you may not need it. See My post on using PyUSB on Raspberry Pi .

0
source

Source: https://habr.com/ru/post/1381646/


All Articles