A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090428/8db6a9d0/attachment-0001.htm below:

OK, Thanks a lot.<br><br><div class="gmail_quote">On Tue, Apr 28, 2009 at 8:06 PM, Michael Foord <span dir="ltr">&lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Jianchun Zhou wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, there:<br>
<br>
I am new to python, and now I got a trouble:<br>
<br>
I have an application named canola, it is written under python 2.5, and can run normally under python 2.5<br>
<br>
But when it comes under python 2.6, problem up, it says:<br>
<br>
Traceback (most recent call last):<br>
  File &quot;/usr/lib/python2.6/site-packages/terra/core/plugin_manager.py&quot;, line 151, in _load_plugins<br>
    classes = plg.load()<br>
  File &quot;/usr/lib/python2.6/site-packages/terra/core/plugin_manager.py&quot;, line 94, in load<br>
    mod = self._ldr.load()<br>
  File &quot;/usr/lib/python2.6/site-packages/terra/core/module_loader.py&quot;, line 42, in load<br>
    mod = __import__(modpath, fromlist=[mod_name])<br>
ImportError: Import by filename is not supported.<br>
<br>
Any body any idea what should I do?<br>
</blockquote>
<br></div></div>
The Python-Dev mailing list is for the development of Python and not with Python. You will get a much better response asking on the comp.lang.python (python-list) or python-tutor newsgroups / mailing lists. comp.lang.python has both google groups and gmane gateways and so is easy to post to.<br>

<br>


For the particular problem you mention it is an intentional change and so the code in canola will need to be modified in order to run under Python 2.6.<br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
-- <br>
Best Regards<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk" target="_blank">http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk</a><br>
  <br>
</blockquote>
<br>
<br>
-- <br>
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4