Questions tagged [canopy]

A Python-based tool for desktop application analysis and distribution of Python.

A Python-based tool for desktop application analysis and distribution of Python. Canopy provides an open and clear understandable environment for scientific research and calculations. Since the language is Python, their algorithms, scripts and programs will never be frozen in their own language. And with the analysis of desktop applications, data analysis, scripted scenarios, and building a more target-oriented applications.

Canopy was formerly known as the Enthought Python Distribution. It is a commercial product, but a free version is available (with fewer packages). Degree-granting institutions also qualify for a free academic license.

The product home page: https://www.enthought.com/products/canopy/

529 questions
3
votes
2 answers

How to get key events when using enaml?

I've been using enaml (0.6.8 which is what is available with Canopy for now) and have successfully created some very useful utility applications. I would like, however, to intercept keyboard events to enable some quick keyboard shortcuts rather than…
JefferyRPrice
  • 895
  • 5
  • 17
3
votes
2 answers

How can I use the Python Tools for Visual Studio mixed mode debugger with Enthought Canopy Distribution?

I use Enthought Canopy as my python distribution due to its suitability for scientific computation. However, I use pytools in Visual Studio as my IDE primarily because of its superior debugging compared to other IDEs for Windows. Since version 2.0,…
Tim Rae
  • 3,167
  • 2
  • 28
  • 35
3
votes
2 answers

How to get opencv image in an enaml space - Is it possible?

Is it possible to have enaml as target for OpenCV? I'm thinking how to setup GUI and what to use. Nothing too complicated, I need to be able to set some bitmap background, draw rectangles and circles over it, but also have the possibility to…
Crni
  • 31
  • 2
3
votes
1 answer

f2py not working for canopy

I am relatively new to python. I am using Enthought Canopy for my work. After importing f2py from numpy, I keep on running into the invalid syntax error when trying to execute: f2py -m (modname) -c --fcompiler=gfortran (prog.f90) Needless to say, I…
Aves
  • 43
  • 4
3
votes
2 answers

Enthought Canopy doesn't print right away when statement occurs

A while ago I switched from Enthought's old EPD to their newer Canopy system. For the most part it's nice, but one aspect has been particularly vexing. Whenever I run a python script, either from within the Canopy iPython environment or from the…
Blas
  • 77
  • 2
  • 6
3
votes
1 answer

Multiple kernels in Enthought Canopy

I previously worked with the EPD Python distribution using its Qt-console, where one of the most useful features was easily having multiple kernels in multiple tabs, when doing several calculations simultaneously. I recently got the "new" Enthought…
user1227298
  • 75
  • 1
  • 8
3
votes
0 answers

Enthought Canopy python install of pygtk

I am using the latest enthought canopy 1.0.1 on Red Hat 5.9 It is installed on top of the stock python 2.4.3 I have some applications written against pygtk and would like to use them with the Enthought version. By the way pygtk works great with the…
2
votes
3 answers

pyspark Py4J error using canopy :PythonAccumulatorV2([class java.lang.String, class java.lang.Integer, class java.lang.String]) does not exist

I installed canopy IDE on windows as well as python and pyspark. When executing the code of a program, there was problem of a sparK Context: findspark.init() conf = SparkConf().setMaster('local').setAppName('MonEssai') sc =…
Nour Hene
  • 21
  • 1
  • 3
2
votes
1 answer

How to open an image in Python 3.7?

How do I open an Image in Python 3.7? I tried: 1.Import Image Image.open("File_name.jpg") Error received: ImportError: No module named 'Image' Import cv2 image = cv2.imread('backround.jpg') Error received: ImportError: No module named 'cv2' Please…
IntelliJ_Please
  • 53
  • 1
  • 2
  • 6
2
votes
2 answers

Error'raise locationparseerror.failed to parse'when installing packages in canopy

The code is : pip install adict I get the error raise locationparseerror.failed to parse::<10029> then I configure the network in canopy according to…
susan
  • 31
  • 1
  • 3
2
votes
4 answers

Canopy get list of files in the shell

I'm using canopy python. The shell has commands "pwd" and "cd". It even does autocomplete. Is there a command - not something I have to write and keep track of - a built-in command that just lists the files in the directory. I've tried ls, ls(),…
elbillaf
  • 1,952
  • 10
  • 37
  • 73
2
votes
3 answers

plt (matplotlib) not displaying in a new window

I am trying to subplot two images myImage and reflectanceImage using matplotlib and plt , the problem is that the figure is displayed in the console not in a new window, I need to have the figure in a new seperate window in order to save it and use…
Mourad Over Flow
  • 191
  • 1
  • 5
  • 16
2
votes
2 answers

Can I install Anaconda alongside Canopy?

I need to install Canopy, but I have Anaconda already installed. If I install Canopy will there be conflict or not? an if will be what are the possible problems?
Okroshiashvili
  • 3,677
  • 2
  • 26
  • 40
2
votes
0 answers

Installing ArrayFire python bindings with Canopy (MacOS X Sierra)

I have installed ArrayFire and am trying to get it working within Canopy. I followed these instructions and entered export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH in a Canopy terminal (launched using the 'Tools' menu). Directory…
Yves Surrel
  • 193
  • 1
  • 10
2
votes
1 answer

NetfilterQueue tiped "are you root " ,which I was already the "root"

After successfully importing netfilterqueue, when executingNetfilterQueue() then I encountered an error nfqueue = NetfilterQueue() File "netfilterqueue.pyx", line 153, in netfilterqueue.NetfilterQueue.__cinit__ (netfilterqueue.c:3733) OSError:…
Nora
  • 29
  • 1
  • 5