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
4
votes
5 answers

Installing a package to Canopy

I'm really new to coding, programming, Python, and just computers in general, so I need some help with Canopy. I've been having pretty consistent troubles installing any packages to Canopy; some stuff is in the internal package manager,but whenever…
vdogsandman
  • 5,289
  • 8
  • 21
  • 21
4
votes
2 answers

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

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…
user2533451
  • 51
  • 1
  • 4
3
votes
1 answer

Extra 'b' preceeding the actual output in TensorFlow

So, I am new to TensorFlow and will be just starting to learn it. I installed TensorFlow on the IDE Canopy using 'pip' command. While confirming if it had been installed correctly, I entered the following code : import tensorflow as tf hello =…
3
votes
2 answers

matplotlib does not import PyQt4, PyQt5 or PySide

I'm using Canopy 2.1.3 distribution (on Ubuntu 16.04) which as you may know contains the matplotlib package. Simply running in the Canopy's shell import matplotlib.pyplot as plt gives me ImportError: Matplotlib qt-based backends require an…
Teodor Petrut
  • 63
  • 1
  • 8
3
votes
4 answers

Why doesn't Python come pre-built with required libraries like pandas, numpy etc

What is the reason packages are distributed separately? Why do we have separate 'add-on' packages like pandas, numpy? Since these modules seem so important, why are these not part of Python itself? Are the "single distributions" of Python to come…
Dhiraj
  • 3,396
  • 4
  • 41
  • 80
3
votes
1 answer

Testing if a graph is Directed or Undirected Graph from Edgelist file

I have a text document that is an edge list file. I know how to read the file (using Canopy Enthought), but I don't know how to get the information about the graph that I want. Main question: Is there a way to detect whether this graph (created from…
Jack Hudgins
  • 93
  • 2
  • 7
3
votes
1 answer

all( generator ) returns True when it should return False

I want to check if a string contains all the keywords. I am using the Enthought Canopy distribution. For example: string = 'I like roses but not violets' key_words = ['roses', 'violets', 'tulips'] I've read that the all function would serve me…
user3600497
  • 1,621
  • 1
  • 18
  • 22
3
votes
2 answers

py2exe exe closes immediately after launch

I have a python (2.7) code that has a gui (Tkinter) and another module. I've tried to make it an .exe file but had strange results. Below are the two cases: No module named py2exe: I use Canopy 64bit for making python scripts. Since it is 64 bit, I…
Deniz
  • 509
  • 7
  • 26
3
votes
0 answers

How do I use Python to auto generate a simple powerpoint example?

I'm trying to reproduce the result of the example file provided by Prof. Zhao using Enthought Canopy: http://www.shengdongzhao.com/shen_blog/how-to-automatically-create-powerpoint-slides-using-python/ I seem to be having the same problem that others…
Frikster
  • 2,755
  • 5
  • 37
  • 71
3
votes
0 answers

How to change version of readline, from libedit to gnu?

I am trying to get PsiTurk running on my OSX 10.9.5 machine but I am having an issue with readline Apparently Mac versions of Python 2.7 use the libedit version of readline while I need to use the gnu version of readline. The below is the error I'm…
Deepend
  • 4,057
  • 17
  • 60
  • 101
3
votes
1 answer

matplotlib pyplot does not plot in visual studio?

I am using VS 2013 Express version with python tools and canopy installed (python 2.7). I am trying to plot a simple function when I run the code and it doesn't work: import numpy as np import matplotlib.pyplot as plt import matplotlib.mlab as…
MoneyTime
  • 33
  • 1
  • 3
3
votes
2 answers

Memory Error at Python while converting to array

My code is shown below: from sklearn.datasets import load_svmlight_files import numpy as np perm1 =np.random.permutation(25000) perm2 = np.random.permutation(25000) X_tr, y_tr, X_te, y_te = load_svmlight_files(("dir/file.feat",…
Asqan
  • 4,319
  • 11
  • 61
  • 100
3
votes
1 answer

Enthought Canopy: Issue Using pyhdf to read and HDF4 file

So I'm currently working on a project that has me read an hdf4 file and extract the data to make a plot. I'm having an issue reading the file in python. I have downloaded both hdf4 and pyhdf and have tried to read my file, but I'm having no luck. It…
3
votes
2 answers

Installing gevent on Mavericks (Enthought Canopy python)

Has anyone had any luck building gevent 1.0 in Mavericks? I've tried the following: pip (as recommended on the gevent package index) easy_install compiling from source I keep getting the same error when building 'gevent.core': ... building…
pedmiston
  • 309
  • 4
  • 11
3
votes
1 answer

Getting PyCall to work with Julia and Enthought's Canopy

There's some weirdness with Enthought's Canopy and Julia with the implementation of PyCall (I guess this has to do with Canopy not updating distutils.sysconfig ??). There is some discussion on this that fixes the problem by pointing PyCall to the…
Ben
  • 6,986
  • 6
  • 44
  • 71
1 2
3
35 36