activepython

panda 3d importing module error

安稳与你 提交于 2019-12-10 15:54:57
问题 I'm trying to learn panda 3d, but I'm getting this error importerror no module named direct.showbase.showbase I'm using the latest versions of panda 3d 1.7.2, python 2.7 on windows xp, how to fix the error? 回答1: http://www.panda3d.org/forums/viewtopic.php?t=10363 Panda 3D on Windows comes with a special version of python that is preconfigured to work correctly with Panda, that python is run with ppython . Otherwise you need to add the Panda libraries to your Python path from the Panda install

Python Windows Service - Not responding to start/stop from built exe (but works in python)

╄→гoц情女王★ 提交于 2019-12-10 12:04:38
问题 This is my first time building a windows service, and I thought I had it working. Installing as python aservice.py install works fine, and responds accordingly. However, since the machines that I will need to install this service on, will not have python installed, I wanted to build it into an executable, that can install the service. Although the executable is successful in installing the service, When I try to start it either manually, or through net start or sc start The service does not

Python loading old version of sklearn

早过忘川 提交于 2019-12-10 09:35:52
问题 I've installed version 0.18.2 of scikit-learn on my Mac using pip uninstall scikit-learn pip install scikit-learn==0.18.2 However, when I run python >>> import sklearn >>> sklearn.__version__ I get '0.17' Interestingly, this older version is still installed even after I uninstall scikit-learn. Could this have something to do with multiple versions of Python somehow being installed? I beat my head against the wall trying to use Anaconda at one point to try to get numpy and scipy running, and

pil png activestate on windows 7 ZLIB (PNG/ZIP) support not available

十年热恋 提交于 2019-12-08 00:59:21
问题 I'm trying to port a python program from OS X to Windows 7. This program processes a png with tkinter eg self.logoImg = ImageTk.PhotoImage(Image.open('GrowthPathLogo.png')) The code is failing with IOError: decoder zip not available I've tried installing pip with pypm. Then I try building it with pip. At the end of the build process it reports that there is no support for png/zlib I get the same errors with the python.org installation on Windows. I'm stuck and I'm not skilled at building C

Install pyCurl in ActivePython-2.6?

别等时光非礼了梦想. 提交于 2019-12-07 07:11:24
问题 I have worked with pyCurl in the past and have it working with my system default python install. However, I have a project that requires python to be more portable and I am using ActivePython-2.6. I have had no problems installing any other modules so far, but am getting errors installing pyCurl. The error: Searching for pycurl Reading http://pypi.python.org/simple/pycurl/ Reading http://pycurl.sourceforge.net/ Reading http://pycurl.sourceforge.net/download/ Best match: pycurl 7.19.0

How to obtain pre-built *debug* version of Python library (e.g. Python27_d.dll) for Windows

五迷三道 提交于 2019-12-05 20:54:27
问题 Firstly, I should state that my current development environment is MSYS + mingw-w64 + ActivePython under Windows 7 and that on a normal day I am primarily a Linux developer. I am having no joy obtaining, or compiling, a version of the Python library with debug symbols. I need both 32bit and 64bit debug versions of the Python27.dll file, ideally. I want to be able to embed Python and implement Python extensions in C++, and be able to call upon a seamless debugging facility using the gdb-7.4 I

Python loading old version of sklearn

时光毁灭记忆、已成空白 提交于 2019-12-05 16:16:43
I've installed version 0.18.2 of scikit-learn on my Mac using pip uninstall scikit-learn pip install scikit-learn==0.18.2 However, when I run python >>> import sklearn >>> sklearn.__version__ I get '0.17' Interestingly, this older version is still installed even after I uninstall scikit-learn. Could this have something to do with multiple versions of Python somehow being installed? I beat my head against the wall trying to use Anaconda at one point to try to get numpy and scipy running, and have since switched to ActivePython. When I run which python I get /Library/Frameworks/Python.framework

Why does ActivePython exist?

元气小坏坏 提交于 2019-11-29 20:14:21
What's ActivePython actually about? From what I've read it's just standard Python with openssl and pyWin32 (on Win). No big deal I guess, I could install them in matter of minutes, and most people don't need them anyway. All other mentioned libraries (zlib, bzip2, sqlite3, Tkinter, ElementTree, ctypes, multiprocessing) are part of core Python distribution. Next up, the tag-line "ActivePython is the industry-standard Python distribution", isn't core Python distribution "industry-standard" (whatever that means?)? And the weirdest thing, is that ActiveState bundles it with crappy PythonWin, and

Why does ActivePython exist?

早过忘川 提交于 2019-11-28 16:10:39
问题 What's ActivePython actually about? From what I've read it's just standard Python with openssl and pyWin32 (on Win). No big deal I guess, I could install them in matter of minutes, and most people don't need them anyway. All other mentioned libraries (zlib, bzip2, sqlite3, Tkinter, ElementTree, ctypes, multiprocessing) are part of core Python distribution. Next up, the tag-line "ActivePython is the industry-standard Python distribution", isn't core Python distribution "industry-standard"

easy_install launches as a terminal and closes on its own, how to avoid that

三世轮回 提交于 2019-11-28 12:51:34
Trying to install various packages on a Windows 7 64 bit and learned that ActivePython helps (as it includes easy_install among others). It surely seems pretty robust. However I'm trying to easy_install a few packages and its failing. The problem is that the easy_install.exe actually launches in a new terminal and closes on its own, even when there is a problem, how do I avoid that ? Anyone faced this issue ? Perhaps easy_install is trying to relaunch itself as Administrator in a different window which quits immediately after easy_install exits. Try running easy_install from an Administrator