enthought

Can't upgrade matplotlib in Ubuntu 12.04 with Canopy installed

岁酱吖の 提交于 2019-11-30 17:09:07
问题 I'm trying to upgrade matplotlib in Ubuntu 12.04 . When I run the command: sudo pip install --upgrade matplotlib I get this error: Downloading/unpacking matplotlib Running setup.py egg_info for package matplotlib The required version of distribute (>=0.6.28) is not available, and can't be installed while this script is running. Please install a more recent version first, using 'easy_install -U distribute'. (Currently using distribute 0.6.24dev-r0 (/usr/lib/python2.7/dist-packages)) Complete

Configuring Pydev Interpreter in Eclipse to use Enthought Python Distribution

戏子无情 提交于 2019-11-30 08:24:25
I downloaded Pydev plugin for Eclipse (3.5.2) today on Mac OSX 10.5.8. To be able to use Pydev, I need to configure the interpreter in Eclipse. I am not clear what exactly I need to do here, or what this step does. I want to make sure that when I run programs from Eclipse using Pydev, it uses the Enthought Python Distribution (EPD) I have installed, and can use all the packages that come with EPD. Can someone please tell me simple steps that I need to follow. If I click on autoconfig, it shows a bunch of folders with the path /System/Library/Frameworks/Python.Framework/Versions/2.5/... But I

How to get MayaVi2 to default to/use Qt rather than wx?

旧时模样 提交于 2019-11-30 07:27:27
Previously I have been using a python environment maintained by Mac ports. I had some basic scripts using PyQT, VTK, matplotlib etc. I have been able to use Paraview but seem a little heavy for my uses so I though I would try MayaVi2 (and TVTK). I downloaded and tried to manually installing but it proved troublesome. So thought I would bite the bullet and try Canopy (academic License). Based on this VTK/Mayavi on Mac OS X which suggests all is good in the world of Qt, VTK and MayaVI, I installed 64 bit Canopy. I am having trouble getting mayavi2 to work within the Canopy environment. It runs,

Installing Theano on EPD (Windows x64)

安稳与你 提交于 2019-11-29 16:38:15
I'm trying to install Theano on Enthought Python Distribution (EPD), but I am getting a weird error. Here is what my installation looks like: I have installed EPD to C:\Python27 . After that, I have installed pip by using easy_install pip I installed Theano by using pip install Theano To test, I start ipython and type import theano . I get the following error: Problem occurred during compilation with the command line below: g++ -shared -g -IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include -o C:\Users\Ove\AppData\Local\Theano\compiledir_Windows-7-6.1.7601-SP1-Intel64

Best way to install OpenCV on Windows with Enthought Canopy Python?

随声附和 提交于 2019-11-29 15:16:28
问题 I've got the Enthought Canopy Python distribution on Windows, and I'd like to add the OpenCV python bindings. I have downloaded the latest OpenCV from http://sourceforge.net/projects/opencvlibrary/ but I don't see any setup.py file. So I'm wondering: What is the best way to install OpenCV on windows to have it working under Enthought Canopy Python? 回答1: I stumbled on this same issue. Here's what I did: Unpack the OpenCV distribution into a folder, for example: C:\RPS\python\epd32 Open a text

Enthought Canopy Mayavi font size bug

独自空忆成欢 提交于 2019-11-29 14:49:19
The font size setting in Enthough Canopy Mayavi mlab appears to be broken. Neither the command: mlab.axes.label_text_property.font_size = 12 (e.g.) nor the direct menu font size command (advanced settings) works. I have logged a bug report with Enthought, but it looks like a more general Mayavi bug, see Does Mayavi "Font Size" text property work? As you say this is a bug that has to do with the translation between the mayavi layer and the vtk layer. But for now you could use this attribute: >> ax=mlab.axes() >> ax.axes.font_factor 1.5 >> ax.axes.font_factor=2 It only produces a small increase

Configuring Pydev Interpreter in Eclipse to use Enthought Python Distribution

假装没事ソ 提交于 2019-11-29 11:37:54
问题 I downloaded Pydev plugin for Eclipse (3.5.2) today on Mac OSX 10.5.8. To be able to use Pydev, I need to configure the interpreter in Eclipse. I am not clear what exactly I need to do here, or what this step does. I want to make sure that when I run programs from Eclipse using Pydev, it uses the Enthought Python Distribution (EPD) I have installed, and can use all the packages that come with EPD. Can someone please tell me simple steps that I need to follow. If I click on autoconfig, it

Enthought Canopy 1.1 giving error icui18n: cannot open shared object file: No such file or directory

感情迁移 提交于 2019-11-29 11:16:57
I have tried to get enthought canopy and follow the procedure. However, when I tried to run ./canopy , it gave this error: Unable to load library icui18n "Cannot load library icui18n: (icui18n: cannot open shared object file: No such file or directory)". I cannot sudo because I am using the university's supercomputing account, no permission to do so. Any advice? You just need a copy of ICU installed on the system you are trying to run canopy on. You can do this by either installing it via the OS's package manager, or by getting a copy in your home directory, and telling canopy where to find it

How to get MayaVi2 to default to/use Qt rather than wx?

女生的网名这么多〃 提交于 2019-11-29 10:34:35
问题 Previously I have been using a python environment maintained by Mac ports. I had some basic scripts using PyQT, VTK, matplotlib etc. I have been able to use Paraview but seem a little heavy for my uses so I though I would try MayaVi2 (and TVTK). I downloaded and tried to manually installing but it proved troublesome. So thought I would bite the bullet and try Canopy (academic License). Based on this VTK/Mayavi on Mac OS X which suggests all is good in the world of Qt, VTK and MayaVI, I

Distutils compiler options configuration

…衆ロ難τιáo~ 提交于 2019-11-29 10:24:22
Maybe a stupid question, but I was wondering where Python's distutils get the compiler options from? It gets some linked directories wrong and I want to correct that once and for all. I know there should be a prefix/lib/pythonver/distutils/distutils.cfg but I can't find any distutils.cfg anywhere on the computer. Obviously I haven't got a local setup.cfg or any $HOME/.pydistutils.cfg. I'm using the Enthought 64-bit distribution, version 7.3 (Python 2.7) on Mac OS X 10.8.3 Cheers, U. I actually export them to the environment, just like for autotools' configure: export CC=/usr/local/bin/clang