<?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[Error when importing pysense&#x2F;pytrack]]></title><description><![CDATA[<p dir="auto">I have a pytrack and a pysense (with a SiPy running 1.15.0.b1), and when running related examples <a href="https://github.com/pycom/pycom-libraries/blob/master/pytrack/main.py" target="_blank" rel="noopener noreferrer nofollow">pytrack</a> and <a href="https://github.com/pycom/pycom-libraries/blob/master/pysense/main.py" target="_blank" rel="noopener noreferrer nofollow">pysense</a>, i have import errors.</p>
<p dir="auto">For pysense:</p>
<pre><code>Traceback (most recent call last):
File &quot;sense.py&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pysense.Pysense'
</code></pre>
<p dir="auto">For pytrack:</p>
<pre><code>Traceback (most recent call last):
File &quot;track.py&quot;, line 10, in &lt;module&gt;
ImportError: no module named 'L76GNSS'
</code></pre>
<p dir="auto">Do you have any idea to fix this?</p>
]]></description><link>https://forum.pycom.io/topic/2620/error-when-importing-pysense-pytrack</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 17:35:39 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/2620.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 Feb 2018 11:20:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Sat, 10 Feb 2018 11:20:15 GMT]]></title><description><![CDATA[<p dir="auto">I have a pytrack and a pysense (with a SiPy running 1.15.0.b1), and when running related examples <a href="https://github.com/pycom/pycom-libraries/blob/master/pytrack/main.py" target="_blank" rel="noopener noreferrer nofollow">pytrack</a> and <a href="https://github.com/pycom/pycom-libraries/blob/master/pysense/main.py" target="_blank" rel="noopener noreferrer nofollow">pysense</a>, i have import errors.</p>
<p dir="auto">For pysense:</p>
<pre><code>Traceback (most recent call last):
File &quot;sense.py&quot;, line 1, in &lt;module&gt;
ImportError: no module named 'pysense.Pysense'
</code></pre>
<p dir="auto">For pytrack:</p>
<pre><code>Traceback (most recent call last):
File &quot;track.py&quot;, line 10, in &lt;module&gt;
ImportError: no module named 'L76GNSS'
</code></pre>
<p dir="auto">Do you have any idea to fix this?</p>
]]></description><link>https://forum.pycom.io/post/15659</link><guid isPermaLink="true">https://forum.pycom.io/post/15659</guid><dc:creator><![CDATA[adrien3d]]></dc:creator><pubDate>Sat, 10 Feb 2018 11:20:15 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Sat, 10 Feb 2018 12:06:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1189">@adrien3d</a><br />
That tells you that your program can't find <a href="http://L76GNSS.py" target="_blank" rel="noopener noreferrer nofollow">L76GNSS.py</a> or <a href="http://pysense.py" target="_blank" rel="noopener noreferrer nofollow">pysense.py</a> files it needs.</p>
<p dir="auto">Have you uploaded those files to your board? They should be placed under the lib/ folder</p>
<p dir="auto">If you use Pymakr check if you those files are part of your project and you  uploaded the project correctly</p>
]]></description><link>https://forum.pycom.io/post/15660</link><guid isPermaLink="true">https://forum.pycom.io/post/15660</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Sat, 10 Feb 2018 12:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Sat, 10 Feb 2018 13:31:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a> You're right, rookie move, I had forgotten to include librairies, thanks ;)</p>
]]></description><link>https://forum.pycom.io/post/15665</link><guid isPermaLink="true">https://forum.pycom.io/post/15665</guid><dc:creator><![CDATA[adrien3d]]></dc:creator><pubDate>Sat, 10 Feb 2018 13:31:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Mon, 12 Mar 2018 16:11:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a> I am having the same issue, however I am using  a GPy.  I have uploaded the files to the lib folder.</p>
<p dir="auto">I've included a screen shot for proof the files are in the lib folder.</p>
<p dir="auto">Not sure what the solution is?</p>
<p dir="auto"><img src="/assets/uploads/files/1520870757898-4de460f4-e9e2-4437-83cf-b8b88d7adc7c-image-resized.png" alt="0_1520870761666_4de460f4-e9e2-4437-83cf-b8b88d7adc7c-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1520870829151-b72ce2f6-80ad-435b-9f00-958925f12f5d-image.png" alt="0_1520870833122_b72ce2f6-80ad-435b-9f00-958925f12f5d-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1520871068803-34d53ee6-9757-4c62-bda7-5ce334d658c1-image.png" alt="0_1520871072603_34d53ee6-9757-4c62-bda7-5ce334d658c1-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/post/16957</link><guid isPermaLink="true">https://forum.pycom.io/post/16957</guid><dc:creator><![CDATA[expectthebest]]></dc:creator><pubDate>Mon, 12 Mar 2018 16:11:51 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Mon, 12 Mar 2018 16:14:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2470">@expectthebest</a></p>
<p dir="auto">can you try deleting all the existing files with <code>os.mkfs('/flash')</code> and trying to upload again?</p>
]]></description><link>https://forum.pycom.io/post/16958</link><guid isPermaLink="true">https://forum.pycom.io/post/16958</guid><dc:creator><![CDATA[jmarcelino]]></dc:creator><pubDate>Mon, 12 Mar 2018 16:14:34 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Mon, 12 Mar 2018 16:39:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/212">@jmarcelino</a> said in <a href="/post/16958">Error when importing pysense/pytrack</a>:</p>
<blockquote>
<p dir="auto">os.mkfs('/flash')</p>
</blockquote>
<p dir="auto">That did the trick.  Thank you.</p>
]]></description><link>https://forum.pycom.io/post/16960</link><guid isPermaLink="true">https://forum.pycom.io/post/16960</guid><dc:creator><![CDATA[expectthebest]]></dc:creator><pubDate>Mon, 12 Mar 2018 16:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Mon, 25 May 2020 13:01:21 GMT]]></title><description><![CDATA[<p dir="auto">I am getting the same error as above:</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">from pytrack import Pytrack<br />
Traceback (most recent call last):<br />
File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br />
ImportError: no module named 'pytrack.Pytrack'</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">I am a total newbie so its probably something silly. I have uploaded the project including the files in the lib folder. Using Visual Studio Code and Pymakr.<br />
If the solution is os.mkfs('/flash') how do I run this ?</p>
]]></description><link>https://forum.pycom.io/post/32844</link><guid isPermaLink="true">https://forum.pycom.io/post/32844</guid><dc:creator><![CDATA[Cormac]]></dc:creator><pubDate>Mon, 25 May 2020 13:01:21 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Wed, 27 May 2020 07:26:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/6255">@Cormac</a> You should be able to enter it in he Pymakr console. Remember to first write:</p>
<pre><code>import os
</code></pre>
<p dir="auto">then</p>
<pre><code>os.mkfs('/flash')
</code></pre>
<p dir="auto">However i am not able to use the mkfs command, probably been replaced, but i can do:</p>
<pre><code>os.fsformat('/flash')
</code></pre>
<p dir="auto">which does the trick!</p>
]]></description><link>https://forum.pycom.io/post/32865</link><guid isPermaLink="true">https://forum.pycom.io/post/32865</guid><dc:creator><![CDATA[railmonitor]]></dc:creator><pubDate>Wed, 27 May 2020 07:26:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Fri, 29 May 2020 08:19:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/5760">@railmonitor</a> Thank you I will give that a try</p>
]]></description><link>https://forum.pycom.io/post/32898</link><guid isPermaLink="true">https://forum.pycom.io/post/32898</guid><dc:creator><![CDATA[Cormac]]></dc:creator><pubDate>Fri, 29 May 2020 08:19:17 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Thu, 04 Jun 2020 14:50:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/5760">@railmonitor</a></p>
<p dir="auto">Sorry that I only got to this now.. I tried that in the Console after connecting and I get the same error when trying to use os.</p>
<p dir="auto">Connecting to COM4...</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import os<br />
os.mkfs('/flash')<br />
Traceback (most recent call last):<br />
File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br />
AttributeError: 'module' object has no attribute 'mkfs'</p>
</blockquote>
</blockquote>
<blockquote>
<blockquote></blockquote>
</blockquote>
</blockquote>
<p dir="auto">Cormac</p>
]]></description><link>https://forum.pycom.io/post/32945</link><guid isPermaLink="true">https://forum.pycom.io/post/32945</guid><dc:creator><![CDATA[Cormac]]></dc:creator><pubDate>Thu, 04 Jun 2020 14:50:35 GMT</pubDate></item><item><title><![CDATA[Reply to Error when importing pysense&#x2F;pytrack on Fri, 05 Jun 2020 07:34:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/6255">@Cormac</a> Yeah the mkfs method has been renamed or just removed. Use</p>
<pre><code>os.fsformat('/flash')
</code></pre>
<p dir="auto">instead, as i also wrote in my previous post.</p>
]]></description><link>https://forum.pycom.io/post/32955</link><guid isPermaLink="true">https://forum.pycom.io/post/32955</guid><dc:creator><![CDATA[railmonitor]]></dc:creator><pubDate>Fri, 05 Jun 2020 07:34:14 GMT</pubDate></item></channel></rss>