I'm new to python and have installed Enthought Canopy. Is there any way for viewing or exploring the variables like we do in MATLAB workspace inside Enthought Canopy? Thank you in advance.
This feature is planned, but not available yet.
Related
I've seen a lot of related questions on variables with Spyder. My problem, though, is with path autocompletion, as in
with open ('/Users/user_name/<TAB>
doing nothing. My local variables do get autocompleted;module functions as well. I'm running Python 3.5, Spyder 3.1.4 (from Anaconda). I have the following packages (that I think might be pertaining to the question) installed:
rope 0.9.4 py35_1
jedi 0.10.2 py35_2
numpydoc 0.6.0 py35_0
Thanks in advance
I have been using Enthought Canopy for quite a while now with the academic license. Till today it was working fine, today I got the request to update Canopy. I assume to version 1.7 since that seems to be the latest. After installing and restarting the computer no error message but Canopy does not open anymore. Just nothing happens when I try to open Canopy, Package Manager, Code Editor nevertheless the Canopy cmd seem to be fine.
Now it is getting interesting, I can still start Ipython/Jupyter notebooks via regular win cmd and run python scripts with Canopy. Although the files are no longer marked as to be opened by canopy with the blueish symbol and do not open on click or double click as before.
import sys
print sys.prefix
C:\Users\MYNAME\AppData\Local\Enthought\Canopy32\User
Consequently, I can work and I am hesistant to try fixes since I am afraid to make it even worse. Reinstall is is only okay if I can get back all my installed libraries with ease.
However, I found very convenient to use canopy since I was able to start ipython notebooks directly in the file explorer by double click instead of going through the cmd. Furthermore, the Package Manager is also a quite handy tool, I really would like to have both back working fully.
Thank you for your suggestions:
System:
Windows 8, 64-bit operating system
Installed Version of Canopy:
`Canopy32\\App\\appdata\\canopy-1.6.2.3262.win-x86\\lib`
(consistent in sys path and control panel - program and features)
The Canopy Support Directed me to a working solution:
Note, uninstalling Canopy does not affect your installed package set.
You have two choices:
A) It would be cleanest to start with the up-to-date package set in
Canopy 1.7.
To do that, then after you uninstall Canopy 1.6, but before you
install 1.7, delete directories:
C:\Users\MYNAME\AppData\Local\Enthought\
C:\Users\MYNAME\AppData\Roaming\Enthought\ B) However if you have a
number of non-Enthought packages installed into Canopy, which would be
troublesome to re-install, you could choose to delete the above
directories and their subdirectories, with the exception of this
directory C:\Users\MYNAME\AppData\Local\Enthought\Canopy32\User\
which is where your existing packages are installed.
If you do this, then after restarting you'll be running Canopy 1.7 but
with your pre-existing package set from Canopy 1.6.2.
I chose to deinstall 1.6. and install 1.7.1 and I did not delete the directory with the external libraries.
I have installed anaconda. I added the anaconda path to my system variables but each time I fire up ipython notebook or jupyter notebook, it says terminals unavailable.
Has something gone wrong with my installation? I am someone out of academia and I am hoping for the kind help of a pro. Thank you,
Would you by any chance be under windows ?
If so you are out of luck, the ability to have an in-browser terminal is not available on windows for the moment. There is no active plan of making this work on windows either, unless someone with the technical knowledge and a windows machine, improve the underlying package
I was previously running Enthought EPD 7.3.2, but switched over to Canopy (academic license). I completely uninstalled EPD before running the Canopy install.
After installing Canopy, I have a shortcut to IDLE in the Canopy start menu folder, but I can't get it to launch (I click it and nothing happens). Tried uninstalling and reinstalling Canopy, but am having the same issue.
Running the 64-bit version of Canopy on Win7, 64bit.
I had a similar problem and found a very simple solution. Try it out and see if it works in your situation too. There is a directory for the Canopy installation:
C:\Users\\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.7.4.3348.win-x86_64\Lib\idlelib
Find “idle.ico” file there, copy and paste it into “Icons” subdirectory.
This fixed the problem!
Canopy 1.0 and 1.0.1 versions have problems with tcl and TKinter, and IDLE doesn't work. This should be fixed in an update, which is just round the corner.
As an afterthought, is there a specific reason you wish to use IDLE? Canopy's editor comes integrated with an IPython console (along with many other goodies), which gives a much better user experience while programming, IMO. (Disclaimer: I work for Enthought)
I've been using the Enthought Python Distribution for about a month, and like it a lot. I test my code in ipython, which gives me the following when I launch it in a terminal :
Enthought Python Distribution -- www.enthought.com
Python 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 12 2012, 11:14:05)
Type "copyright", "credits" or "license" for more information.
IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
I'm now looking for an IDE, and I've come across problems with Canopy - specifically, getting it to use my Enthought distribution as their live consoles, much like my ipython works.
I can't find anywhere to change the interpreter under Canopy. When it launches, it gives me
Welcome to Canopy's interactive data-analysis environment!
with pylab-backend set to: None
Type '?' for more information.
This isn't using EPD, and thus, isn't using any of the packages that I've got installed.
Any ideas would be fantastic !
Thanks.
This article should answer your question.
In brief, there is no way at present to change the interpreter in Canopy. However, Canopy is built on an improved version of EPD.
So you would need to re-install your packages into Canopy. However you should never need to do this again, even when Python is updated (e.g. eventually to 2.7.5) -- whereas with EPD, whenever the interpreter changed, you had to reinstall and start from scratch.
If you do install Canopy 1.0.0, be sure to update to 1.0.1 (from Help menu) before installing your other packages.