pythonxy

ImportError: cannot import name doccer

醉酒当歌 提交于 2020-01-14 10:19:27
问题 I just installed python xy 2.7.9 on Windows 7 . I went to run some previously written code in Spyder which calls: from scipy.sparse import linalg as sla However, I get the following error: File "C:\Python27\lib\site-packages\scipy\sparse\linalg\__init__.py", line 113, in <module> from .matfuncs import * File "C:\Python27\lib\site-packages\scipy\sparse\linalg\matfuncs.py", line 20, in <module> import scipy.misc File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 44, in <module>

Problems with new module in Python (x,y) 2.7

北慕城南 提交于 2019-12-24 19:23:48
问题 I'm trying to use Python(x,y) version 2.7 to deal with some compressed DICOM data. I've installed the mudicom module using pip install and that worked fine. However, I also need the gdcm 2.6 module and I had to jump some hoops to install that using its .exe file and get it added to my PATH. I then added gdcm.py and gdcmswig.py to my site packages folder and added _gdcmswig.pyd to my DLLs folder as per instructions on another forum I found. Now Python at least seems to see that I have gdcm,

Tkinter — StringVar() not working correctly

随声附和 提交于 2019-12-24 12:00:28
问题 While trying to initialize a StringVar() using TkInter I am getting this huge error back. So the error is as follows: In [160]: from Tkinter import * In [161]: p = StringVar() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-161-3e21f17f6e4f> in <module>() ----> 1 p = StringVar() C:\Python27\lib\lib-tk\Tkinter.pyc in __init__(self, master, value, name) 285 then the existing value is retained. 286 """ --

Spyder/Pythonxy crashes

▼魔方 西西 提交于 2019-12-24 09:28:55
问题 Upon installing python xy 2.7.5 on my laptop, I tried to launch the Spyder IDE. This yielded the following error: C:\Python27\Scripts>spyder.exe Traceback (most recent call last): File "C:\Python27\Scripts\spyder-script.py", line 9, in load_entry_point('spyder==2.2.0', 'console_scripts', 'spyder')() File "C:\Python27\lib\site-packages\spyderlib\start_app.py", line 72, in main from spyderlib import spyder File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 112, in from spyderlib

PyInstaller and Enthought Suite

只谈情不闲聊 提交于 2019-12-22 10:26:53
问题 I was wondering if anyone has any success in creating a stand alone executable using pyinstaller with a script that has enthought imports. I have been trying to do this for a couple of days now, however I keep getting an import error. Through some digging around I believe that I might need to add some hidden import and create my own hooks. However I have not heard of anyone having any success with this, so I thought I would ask here and see if anyone might have some experience with this

Python 3.x on python(x,y)?

a 夏天 提交于 2019-12-22 05:57:18
问题 I'm in the process of setting up a Matlab like environment so I downloaded the latest version of python(x,y) with all the modules that come with it and downloaded python 3.4.1. Does python(x,y) not run the latest version of python? I noticed because the python(x,y) shell doesn't auto calculate mathematical operations into floats which I read is a difference between python 2.x and 3.x. Do I just have to wait for a new release of (x,y) or am I missing something here? 回答1: You can make Python 2

Directly open Spyder or open it through Pythonxy?

给你一囗甜甜゛ 提交于 2019-12-12 21:15:30
问题 Previously, I have been running Python in Spyder . I always started Spyder by directly double clicking its icon. Today, I suddenly realize that I have another thing called Python(x,y) . I notice that I can also start Spyder through it. Do these two methods make any difference? If not, what is the meaning of Python(x,y) ? Does it have any other good features? 回答1: Python(x,y) Python(x,y) is a scientific Python distribution . This means that it not only installs Python in your system but also

Cython with pythonxy

不羁岁月 提交于 2019-12-11 09:40:00
问题 I'm trying to use Cython but I can't seem to find a way of getting it to work. I installed pythonxy, which comes with Cython. I installed MS VS 2008 Express (https://go.microsoft.com/?linkid=7729279) Then I installed the Cython plugin for pythonxy from the standard plugins web page (https://code.google.com/p/pythonxy/wiki/StandardPlugins) just in case. However, I get this error: ImportError: Building module MyCyModule failed: ["ValueError: [u'path']\n"] I have my MWE below: MyCyModule.pyx

PythonXY on Mac?

霸气de小男生 提交于 2019-12-07 13:40:04
问题 How do you install PythonXY on Mac OSX Lion? I got started. It should be able through macports but anyhow I cannot find the port pythonXY as described on the mac ports website. 回答1: I don't know pretty much about MAC neither pythonXY but there is a post written (Jule 23th, 2009) on the pythonxy wiki: a MacOS version is not scheduled - not because it won't be needed or useful, but because there is nobody out there to take care of a pythonxy-Mac project. Source Good luck, 来源: https:/

PyInstaller and Enthought Suite

巧了我就是萌 提交于 2019-12-06 01:40:29
I was wondering if anyone has any success in creating a stand alone executable using pyinstaller with a script that has enthought imports. I have been trying to do this for a couple of days now, however I keep getting an import error. Through some digging around I believe that I might need to add some hidden import and create my own hooks. However I have not heard of anyone having any success with this, so I thought I would ask here and see if anyone might have some experience with this situation. panofish I had been trying to build a stand alone exe of my python app which uses matplotlib (one