<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29996/pc_ble_driver_py-cannot-import-name-config</link><description>Hi, 
 We are trying to learn how to use the python bindings with the nrf51 dongle on an application for a windows PC.
We got as far as installing the pc_ble_driver_py, but when we try to run the example serial_port_enum.py, python cannot import config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jan 2018 11:54:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29996/pc_ble_driver_py-cannot-import-name-config" /><item><title>RE: pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/thread/119234?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 11:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c16d77f-ab26-4ee7-af1c-7e0d8fb97054</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Great that you got it working, an thank you for reporting back the solution!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/thread/119233?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 11:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f748977-5342-4ebe-a09d-b30cf75ed62d</guid><dc:creator>FredNovalia</dc:creator><description>&lt;p&gt;Ok not sure what happened in the previous install but simply uninstalling and installing via pip a couple of times fixed it!&lt;/p&gt;
&lt;p&gt;pip uninstall pc_ble_driver_py&lt;/p&gt;
&lt;p&gt;pip install pc_ble_driver_py&lt;/p&gt;
&lt;p&gt;I then got an error message saying &amp;quot;failed to locate the pc_ble_driver shared library...&amp;quot; so I repeated the uninstall/install process and then it worked!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/attachment/04d129b89e31354507d4536611ec3143" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/thread/119232?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 10:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b64a1f3-f87c-40fb-b16a-9e8f08d4f843</guid><dc:creator>FredNovalia</dc:creator><description>&lt;p&gt;Thanks Jorgen,
I didn&amp;#39;t compile from source, I used pip. Do I have to compile from source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/thread/119230?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 09:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8de021-1c75-4c38-9b9d-1f702eca5a47</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It looks like you cloned the GitHub repository. Did you compile it from source as &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py#compiling-from-source"&gt;described in the readme&lt;/a&gt;? Have you tried &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py#installing-from-pypi"&gt;installing using PyPi&lt;/a&gt;, to see if this works?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc_ble_driver_py cannot import name config</title><link>https://devzone.nordicsemi.com/thread/119231?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 19:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da35454a-9565-4c0c-95c2-ad1bfe249ecb</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Have you tried adding the path to the pc_ble_driver_py folder to the %PYTHON_PATH% environment variable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>