{"id":3021,"date":"2014-03-13T12:12:03","date_gmt":"2014-03-13T12:12:03","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/problem-about-enthought-collection-of-common-programming-errors\/"},"modified":"2014-03-13T12:12:03","modified_gmt":"2014-03-13T12:12:03","slug":"problem-about-enthought-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/13\/problem-about-enthought-collection-of-common-programming-errors\/","title":{"rendered":"problem about enthought-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/581b1760881c962648f99d6040d41829?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nHolger Just<br \/>\nenthought canopy<br \/>\nWhen I try and run canopy it brings up an error messageUnexpected error ParseError:Invalid line at line &#8220;1&#8221;.I need to know how this can be fixed. I have already tried many different ways of uninstalling it and re-installing it, nothing seems to work.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bced6628e45c81884a002be63beea0de?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser3033376<br \/>\npython windows enthought parse-error canopy<br \/>\nHow can I fix this. Python is currently unaccessible for me because of this error. Everytime that I click on my python icon to begin programming, the error message pops up, and it will not allow me to run the program.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b80364cc6fbb2eac7dcfdb7738bae083?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntsyu80<br \/>\npython enthought chaco traitsui<br \/>\nUsing the minimal example below, the line plot of a large (some 110k points) plot I get (with python 2.7, numpy 1.5.1, chaco\/enable\/traits 4.3.0) is this:However, that is bizarre, because it is a line plot, and there shouldn&#8217;t be any filled areas in there? Especially since the data is sawtooth-ish signal? It&#8217;s as if there is a line at y~=37XX, above which there is color filling?! But sure enough, if I zoom into an area, I get the rendering I expect &#8211; without the unexpected fill:Is this a bug &#8211; o<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8047e96df3264a4cabc812b4da38577e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nADJ<br \/>\npython enthought canopy sklearn<br \/>\nI have recently uninstalled a nicely working copy of Enthought Canopy 32-bit and installed Canopy Version: 1.1.0 (64 bit). When I try to use sklearn to fit a model my kernel crashes and I get the following error:The kernel (user Python environment) has terminated with error code 3. This may be due to a bug in your code or in the kernel itself.Output captured from the kernel process is shown below.OMP: Error #15: Initializing libiomp5md.dll, but found mk2iomp5md.dll already initialized. OMP: Hint<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eec2e174897771bff4bf95039074b57e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMark<br \/>\nipython enthought ipython-notebook canopy<br \/>\nWhen I try to start the ipython notebook from EPD&#8217;s Canopy while not connected to the Internet, the notebook crashes before starting up. This does not happen when connected to the net.Any help would be most welcome.The short crash dump follows next. The full dump from setting c.Application.verbose_crash=True in the config file can be found here https:\/\/gist.github.com\/xaverm\/6873969Short dump~&gt;.Canopy\/EPDenvironment\/bin\/ipython notebook [NotebookApp] Using existing profile dir: u&#8217;\/home\/xuserx<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f1a89312eddd0b273e83963322ec6d3d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2269232<br \/>\nipython enthought<br \/>\nI&#8217;m trying to launch Enthought Canopy&#8217;s ipython from a Terminal in Mac OS 10.8.3 using the following command:\/Applications\/Canopy.app\/appdata\/canopy-1.0.0.1160.macosx-x86_64\/Canopy.app\/Contents\/bin\/ipythonbut I&#8217;m receiving the following error:\/Applications\/Canopy.app\/appdata\/canopy-1.0.0.1160.macosx-x86_64\/Canopy.app\/Contents\/bin\/ipython: \/Library\/Frameworks\/Python.framework\/Versions\/7.1\/Resources\/Python.app\/Content: bad interpreter: No such file or directoryThis (7.1) framework was previously i<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ecd9f2f0dbc8d63d6031741c739b9674?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEarl Bellinger<br \/>\npython multithreading multiprocessing enthought<br \/>\ndef print_square(i):print str(i*i)from multiprocessing import Pool p = Pool(1) for i in range(10):p.apply_async(print_square, args=(i,)) p.close() p.join()spawns infinite processes and crashes my machine on Windows 8 with 64 bit canopy on python 2.7. Why?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/18bd06472aecdb2fbfece632325c362a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2352742<br \/>\npython enthought canopy<br \/>\nSo yesterday I updated to Enthought version 1.1 and now it refuses to open. I&#8217;ve rebooted my computer as well as did a re-install of enthought canopy. I keep getting the following error Traceback (most recent call last):File &#8220;build\/bdist.macosx-10.5-i386\/egg\/canopy\/app\/bootstrap.py&#8221;, line 1989, in mainFile &#8220;build\/bdist.macosx-10.5-i386\/egg\/canopy\/app\/bootstrap.py&#8221;, line 1021, in mainFile &#8220;build\/bdist.macosx-10.5-i386\/egg\/canopy\/app\/bootstrap.py&#8221;, line 1012, in _ kill_leftover_procsFile &#8220;bui<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7f339b4f46b27301d346f2f195a8bfb2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2457367<br \/>\nenthought<br \/>\nI am supporting a user who is trying to use Canopy. Every time she starts the program the kernel crashes. I installed the program myself and viewed another install which work fine. I believe her issue is that the .ipython and .matplotlib foders are not getting installed in her home directory.The same issue arises with the 32-bit client after all updates are applied.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/611b91012610bb163b25d02869dbf5ad?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFramester<br \/>\nenthought epd-python theano<br \/>\nSummary: I&#8217;m trying to install the theano python package, and the theano install can&#8217;t find &#8220;-lpython2.7&#8221; in my EPD Canopy installation.More details: Recently I installed the Enthought EPD Canopy python distribution (64-bit academic) in OS X 10.6.8. Next I installed pip via &#8220;easy_install pip&#8221;.Next I installed Theano via &#8220;sudo pip install theano&#8221;. The install looks OK, but then python -c &#8220;import theano&#8221; fails. The full output is at https:\/\/gist.github.com\/anonymous\/5548936, but it seems like t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2e8cccf4c9f977f89da6ecd1a62cc9c4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGabriel<br \/>\npython matplotlib enthought<br \/>\nThis is a MWE of what I&#8217;m after, adapted from this question:from matplotlib.pyplot import plot, draw, showdef make_plot():plot([1,2,3])draw()print &#8216;continue computation&#8217;print(&#8216;Do something before plotting.&#8217;) # Now display plot in a window make_plot()answer = raw_input(&#8216;Back to main and window visible? &#8216;) if answer == &#8216;y&#8217;:print(&#8216;Excellent&#8217;) else:print(&#8216;Nope&#8217;)show()What I want is that when I call the function to make the plot the window with the plot appears and then I&#8217;m back at the prompt so I ca<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4e451f80b88106a0bd5261ec0954775a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmsalese<br \/>\npython enthought llvm-3.0<br \/>\nI&#8217;m trying to install llvmpy on ubuntu 12.04 using edpFree 7.3-2# uname -a Linux svnserver 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU\/Linux# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: preciseAfter the pip command I receive an error:#.\/pip install llvmpy Downloading\/unpacking llvmpyRunning setup.py egg_info for package llvmpyLLVM version = u&#8217;3.0&#8217;Generate intrinsic<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Holger Just enthought canopy When I try and run canopy it brings up an error messageUnexpected error ParseError:Invalid line at line &#8220;1&#8221;.I need to know how this can be fixed. I have already tried many different ways of uninstalling it and re-installing it, nothing seems to work. user3033376 python windows enthought parse-error canopy How can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3021","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3021"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3021\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}