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
-1
votes
1 answer

GENSIM Error in Canopy Express

I am trying to run the GENSIM Topic modeling example in Canopy Express and get the following error on Sum() line. from gensim import corpora, models, similarities from itertools import chain """ DEMO """ documents = ["Human machine interface for…
-1
votes
1 answer

Run python script from enthought canopy with an absolute path as an argument

I would like to run a python script from enthought canopy v1.5.0.2717, either in mac or windows, and provide a absolute file path as an argument using the run configuration dialog. In the run configuration I put an argument (for…
labjunky
  • 831
  • 1
  • 13
  • 22
-1
votes
1 answer

Why can't I use NumPy functions in Canopy's IPython?

I am struggling to use basic NumPy functions in my Python programme on Enthought's IPython, such as 'pi' and 'logspace' It also says that the term 'plot' is undefined - has it changed? Thanks so much
Jameister
  • 13
  • 1
-1
votes
1 answer

Unicode in Traits Labels?

I'd like to use some Unicode in the labels for Traits Items (so I can use some nice mathematical characters), but I'm getting an error message that says that labels have to be strings...is there any way around using only ASCII strings in Item…
Steve76063
  • 317
  • 2
  • 10
-1
votes
1 answer

Trying to update Enthought Canopy 64 bit v1.2.0.1610 to 1.3.0.1705 on a Mac

The Canopy Package manager tells me there is an update available from Canopy v1.2.0.1610 to 1.3.0.1715 (64 bit running on a Mac with Mavericks). When I chose "install and relaunch" canopy closes but does not install the update or relaunch. When I…
Geophys
  • 21
  • 4
-1
votes
2 answers

Python Error in Canopy but not in IDLE

I have this simple script that attaches a text file to an email in Python. When I run this script in IDLE it works fine. When I run it in Canopy Express however, I get this error: (The text.txt file is in the same directory as the python…
diggers3
  • 229
  • 3
  • 17
-2
votes
1 answer

Python Kernel Crash

I am a school student taking AP computer science and we are learning python currently. Now my problem starts with Enthought Canopy, when I open the code editor up the kernel it states that the kernel needs to be connected After I click that I click…
-2
votes
2 answers

Code worked until more was added - now getting a NameError

# -*- coding: utf-8 -*- #displays title print (" H___________________________________________ ") print ("/========/| █░█ █▀▀█ █▀▀█ █░░ █▀▀█ █▀▀▄ █▀▀▄ \ ") print ("|||||||||||-█̶▀̶▄̶ ̶█̶░̶░̶█̶ ̶█̶░̶░̶█̶ ̶█̶░̶░̶ ̶█̶▄̶▄̶█̶ ̶█̶░̶░̶█̶…
-2
votes
1 answer

Unexpected syntax error in "Python 2.7.1 IDLE" (Works well with canopy!)

As You see at the 2 pics the iteration loop works well with canopy but with IDLE Python 2.7.10 says: Syntax error Why?
-2
votes
1 answer

enthought canopy does not start

I installed it about 3 weeks ago and it's been working fine, the 32 bit version onto my 64 bit PC. I tried opening it up today and nothing was working. It just wouldn't open, there was no loading error or message, nothing came up. I deleted it and…
-2
votes
1 answer

Unable to run simple "if__name__ =='__main__':" syntax using Canopy

I obtained the following password generator (Test.py) from the Internet and I thought it would be easy to run in Canopy but it does not seem to work at all. I get invalid syntax errors all the time. I send the code to a colleague of mine and she…
IljaPilja
  • 15
  • 1
  • 4
-2
votes
2 answers

"list_or_dict must be a list or a dict" when using append in openpyxl package of Python

Based on this tutorial : LINK we have this structure: from openpyxl import Workbook from openpyxl.compat import range wb = Workbook() ws = wb.active for row in range(1,3): ws.append(range(100)) wb.save(finename ='mtest2.xlsx') This returns…
Eghbal
  • 3,892
  • 13
  • 51
  • 112
-2
votes
1 answer

What is the need of debug option in flask ? Why we should avoid it after completion of web app?

from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'FRIENDS' @app.route('/home') def home(): return 'BARBAD, PARTI' if __name__ == '__main__': app.run(debug=True) After google search I came to Know…
cryptomanic
  • 5,986
  • 3
  • 18
  • 30
-2
votes
1 answer

TAB completion what it returns

my apologies for being stupid, but I am new to Canopy. What does completion return? when I type print(), I get a list of %%??? items. I am looking for info about the print() function or other functions. I am sure it's in that manual but I can't…
-3
votes
2 answers

Can't use imported functions in Python 2.7

Every time I attempt to run this on Canopy. import numpy as np import matplotlib.pyplot as plt y = np.arange(10.0, 0.0, 0.5) print(y) I get: %run "/var/folders/mw/h485shnx75dg6f4z_xvcg5hm0000gn/T/tmpcjJKuI.py" []
user2989977
  • 45
  • 1
  • 5
1 2 3
35
36