Difference between revisions of "Talk:RPi ADC I2C Python"

From eLinux.org
Jump to: navigation, search
(Added note about PYTHONPATH change)
 
m (Updated PYTHONPATh step)
Line 1: Line 1:
==Updated PYTHONPATh step==
+
==Updated PYTHONPATH step==
 
It seems the quick2wire people reorganized the quick2wire-python-api so there is no longer a src directory. The README says to add the path to the root directory of the package to the PYTHONPATH variable. I found in my own use that was required as well. There is no longer a src/ directory and the test script fails saying it can not find the module. Putting in the root directory path for the package fixed the problem, so I updated these directions to reflect the current correct installation procedure. --[[User:Bgirardot|Bgirardot]] ([[User talk:Bgirardot|talk]]) 00:49, 15 January 2013 (UTC)
 
It seems the quick2wire people reorganized the quick2wire-python-api so there is no longer a src directory. The README says to add the path to the root directory of the package to the PYTHONPATH variable. I found in my own use that was required as well. There is no longer a src/ directory and the test script fails saying it can not find the module. Putting in the root directory path for the package fixed the problem, so I updated these directions to reflect the current correct installation procedure. --[[User:Bgirardot|Bgirardot]] ([[User talk:Bgirardot|talk]]) 00:49, 15 January 2013 (UTC)

Revision as of 00:49, 15 January 2013

Updated PYTHONPATH step

It seems the quick2wire people reorganized the quick2wire-python-api so there is no longer a src directory. The README says to add the path to the root directory of the package to the PYTHONPATH variable. I found in my own use that was required as well. There is no longer a src/ directory and the test script fails saying it can not find the module. Putting in the root directory path for the package fixed the problem, so I updated these directions to reflect the current correct installation procedure. --Bgirardot (talk) 00:49, 15 January 2013 (UTC)