<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot find PYB lib]]></title><description><![CDATA[<p dir="auto">Evening All</p>
<p dir="auto">I suspect this maybe another silly question which has taken ages to solve and I am tearing my hair out.</p>
<p dir="auto">A number of scripts call for a library called PYB. I have tried to load this, but to no avail. The message I get back is as follows:</p>
<pre><code>&gt;&gt;&gt; import pyb
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pyb'
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">I even tried :</p>
<pre><code>&gt;&gt;&gt; from pyb import LED
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pyb'
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">Can you please shed some light on PYB, where I can find it, and how I incorporate it into a script or standard library set.</p>
<p dir="auto">Many thanks.<br />
Greg</p>
]]></description><link>https://forum.pycom.io/topic/1052/cannot-find-pyb-lib</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 00:11:31 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1052.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Apr 2017 19:24:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot find PYB lib on Wed, 19 Apr 2017 20:20:20 GMT]]></title><description><![CDATA[<p dir="auto">Evening All</p>
<p dir="auto">I suspect this maybe another silly question which has taken ages to solve and I am tearing my hair out.</p>
<p dir="auto">A number of scripts call for a library called PYB. I have tried to load this, but to no avail. The message I get back is as follows:</p>
<pre><code>&gt;&gt;&gt; import pyb
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pyb'
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">I even tried :</p>
<pre><code>&gt;&gt;&gt; from pyb import LED
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pyb'
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">Can you please shed some light on PYB, where I can find it, and how I incorporate it into a script or standard library set.</p>
<p dir="auto">Many thanks.<br />
Greg</p>
]]></description><link>https://forum.pycom.io/post/6586</link><guid isPermaLink="true">https://forum.pycom.io/post/6586</guid><dc:creator><![CDATA[Vercellotti]]></dc:creator><pubDate>Wed, 19 Apr 2017 20:20:20 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find PYB lib on Wed, 19 Apr 2017 19:31:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1239">@Vercellotti</a> The pyb module exists for PyBoard in the <a href="http://micropython.org" target="_blank" rel="noopener noreferrer nofollow">micropython.org</a> family of ports, not for the Pycom family of boards. Since the Pycom software is derived from these, it is mentioned still at some places in the docs. The module machine is to be used instead.</p>
]]></description><link>https://forum.pycom.io/post/6587</link><guid isPermaLink="true">https://forum.pycom.io/post/6587</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Wed, 19 Apr 2017 19:31:56 GMT</pubDate></item></channel></rss>