enthought

pyinstaller error: cannot find scipy (No module named _ufuncs_cxx)

不羁的心 提交于 2019-12-10 10:29:47
问题 I am using pyinstaller to convert python script into a binary in Ubuntu (14.04). I use Canopy (Enthought) to manage all python libraries. The code uses networkx, numpy, and scipy. Here is my spec file: # -*- mode: python -*- a = Analysis(['main_test.py'], pathex=['/home/sean/Desktop/prog',], hiddenimports=[], hookspath=None, runtime_hooks=None) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, exclude_binaries=True, name='main_test', debug=False, strip=None, upx=True, console=True ) coll = COLLECT

Chaco - Getting multiple data series to use the same axes and maps

*爱你&永不变心* 提交于 2019-12-08 13:48:17
问题 I am trying to plot several collections of data on a single plot. Each dataset can be represented as an x-series (index) and several y-series (values). The ranges of x and y data series may be different in each data set. I want to have several of these data sets display on one plot. However, when I simply add the second plot object to the first (see below) it makes a second axis for it that is nested inside the plot. I want both plots to share the same axis and for the axis bounds to be

Install 32 bit Canopy on Win 7, 32-bit machine fails

混江龙づ霸主 提交于 2019-12-08 10:48:59
问题 I'm trying to install Canopy (canopy-1.1.0-win-32.msi) on a 32 bit windows machine. The install appears to work fine, but when I launch any of the tools, nothing happens. I can open a command line and run canopy_cli.exe which I found and it claims that I used the wrong installer. I've done it twice. It is a 32-bit Dell Inspiron. I've removed all Python related content from the system to try to get to a clean base. Ideas? Thx, --Don 回答1: Existing PYTHONHOME and/or PYTHONPATH environment

How to change Python version for Enthought Canopy? [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-08 10:20:18
问题 This question already has answers here : Python 3 in Enthought Canopy (3 answers) Closed 6 years ago . I installed Enthought Canopy on a Mac and it's using Apple's built-in Python 2.7.3 version. sys.version Out[1]: '2.7.3 | 32-bit | (default, Jun 14 2013, 18:24:40) \n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]' How can I change it to Python 2.7.5 which I manually installed on the computer? 回答1: It's actually showing you Enthought-built Canopy Python which is 2.7.3, not Apple's. At present,

Error “GraphViz's executables not found” when calling GraphViz layout from NetworkX in iPython notebook

帅比萌擦擦* 提交于 2019-12-08 10:04:08
问题 I received the error "InvocationException: GraphViz's executables not found, error GraphViz's executables not found" when trying to use the method graphviz_layout in my code. The code works fine when graphviz_layout is replaced by spring_layout. From the throwback exception information, it looks like it calls pydot_layout. I have the pydot module installed through Canopy's package manager, but importing it does not help. I have also pip installed graphviz and imported it with no luck. Here is

Enthought Canopy Package Manager got stuck on MacOs High Sierra

…衆ロ難τιáo~ 提交于 2019-12-08 09:12:16
问题 I tried to update my python packages by using the feature: update all of the Enthought Canopy Package Manager. After I started to update it got frozen at some point. This is what I see: As documentation writes here in cases when an update is in progress one should not close the Package Manager window. What should I do in this case. I can't find any solution after some googling. Any help is highly appreciated! 回答1: : Force-close Canopy If you are not already running the current version of

Enthought - Canopy Express Installation Problems (Windows 7 x64)

跟風遠走 提交于 2019-12-08 08:32:28
问题 I am having difficulties installing the Enthought Canopy Express program. I have tried both the x64 and x86 versions. My login is normal alpha characters only (as goes for the hostname). I have also tried installing under the local admin account (my account has admin rights as well). The installer runs through it's normal motions. I have tried installing for my account only, and for all users. The environment setup is where it hangs up (I have tried clearing the PATH variable setup as it had

Enthought + PyCharm - cannot show plots anymore

不羁岁月 提交于 2019-12-08 08:24:52
问题 I have on Mac OS X PyCharm with Enthought set up as interpreter: ~/Library/Enthought/Canopy_64bit/User However, it does not show any of the plots from matplotlib. import pandas as pd from numpy import * import matplotlib.pyplot as plt ts = pd.Series(random.randn(1000), index=pd.date_range('1/1/2000', periods=1000)) ts = ts.cumsum() ts.plot() This just gives me Out[124]: <matplotlib.axes.AxesSubplot at 0x10dd29f90> . It does not show the plot, nor does it do anything else. No error, nothing.

Setting up a virtural enviroment (venv) with no system site packages

本小妞迷上赌 提交于 2019-12-08 07:53:02
问题 I want to create a virtual environment using Enthought's Canopy distribution, but with no site packages. following: https://support.enthought.com/entries/21802240-Use-venv-not-virtualenv-with-Canopy-Python I set up the environment, leaving off the -s to not install the site packages: $ venv path/to/virtual_environment_dir $ source path/to/virtual_environment_dir/bin/activate And this uses the correct python, but still uses the system easy_install and pip (env) $ which python path/to/virtual

traitsui prevent txt-box from realtime updating

梦想与她 提交于 2019-12-08 07:37:42
问题 Frequently when using traitsui, i have a depends_on relationships that are somewhat costly, and i would to Not update the trait with every character entry of a text-box. For example, if i have a Int which is used in a calculation, through depends_on linkage, the linkage is actuated every time i add a digit to Int. currently i circumvent this by using buttons, but am curious if there is there a way to defer updating everything until the user hits enter or changes focus of the UI. thanks, alex