Quantcast
Channel: ActiveState Community Site - Installation Support for ActivePython
Viewing all 48 articles
Browse latest View live

Bogus embedded manifest in pywintypes26.dll (and also pywintypes27.dll)

$
0
0

pywintypes26.dll contains a bogus embedded manifest:

The dependency part being empty.

When using pyInstaller to create a .exe from a python script, 2 dll are mandatory: python26.dll and pywintypes26.dll. python26.dll has a dependency on the C run time library, which is correctly embedded. The bogus manifest of pywintypes26.dll makes a pop up appear when running the executable created by pyInstaller:

Runtime Error!

R6034
An application has made an attempt to load the C runtime library incorrectly.

Would it be possible to remove the bogus embedded manifest from pywintypes26.dll? The file available from pywin32 distribution on SourceForge does not contain any manifest and using that manifest free dll fixes the problem (the error R6034 goes away).

I do not know if there are other dll with bogus embedded manifest, I only found that one.


How to Uninstall on Mac OS X Lion

$
0
0

I installed the latest version on my Mac running Lion. I'm just in the process of switching to the Mac platform and I can't seem to find the way to uninstall Active Python. Can anyone provide any insight. I haven't been able to find any references by searching. Thanks in advance.

Windows 7 compatibility for older versions

$
0
0

We have a long-running development project that is using Python 2.5.1. We need to transition our development desktops (but not our target system) to Windows 7 64-bit, but are not sure if the 2.5.1 version will run successfully. While we can obviously do some simple testing, there's no way to test ALL of the release :-)

Is there any information covering compatibility with newer OS versions?

Thanks!

Dan

2.7.2 Download Link Installs 2.6.6

$
0
0

The download link for Windows 32bit 2.7.2 downloads "ActivePython-2.7.2.5-win32-x86.msi" but after running the install the version is 2.6.6.18. Bad link?

I've tried twice with the same result. Where's 2.7.2?

Thanks

Pythonwin not loading

$
0
0

Hello,

I have a problem with getting pythonwin to run and I need your help please! I have installed python 2.7 on Windows 7 and if I double click on pythonwin.exe (C:\Python27\Lib\site-packages\pythonwin) then it loads but comes up with the following error:

Traceback (most recent call last):
File "C:\Python27\Lib\SITE-P~1\PYTHON~1\pywin\framework\intpyapp.py", line 181, in InitInstance
import interact
File "C:\Python27\Lib\SITE-P~1\PYTHON~1\pywin\framework\interact.py", line 21, in
import pywin.scintilla.control
File "C:\Python27\Lib\SITE-P~1\PYTHON~1\pywin\scintilla\control.py", line 33, in
dllid = win32api.LoadLibrary("Scintilla.DLL")
error: (193, 'LoadLibrary', '%1 is not a valid Win32 application.')

The debugger loads but then won't allow me to load any files and is therefore not really useful. Any suggestions or help would be gratefully received.

Thanks
Richard

ActivePython2.7.2.5's Tkinter NOT using 8.6 after installing ActiveTcl 8.6.0.0b6

$
0
0

Hi,
Has anybody been able to get Tk 8.6 working using any addition of ActivePython?
No matter what I try, it just keeps on loading the old 8.5.

I have looked into the source and looks like the "setup.py" needs to have the "8.6" prefixed there, else it will never do so.
So I am guessing this has not yet happened on any of the available ActivePython builds that are available....at least for the MAC.

Its strange since there is a ActiveTcl 8.6.0.0b6 install now available - but quite useless to those trying to use it from Python.

Hope this gets resolves soon as there are a number of things broken in Tk 8.5 on the MAC.

Best Regards

Keith

how to install activepython on mint linux

$
0
0

Hi all!, I want to install activepython 3 on an old Pentium 3 PC which is running Linux Mint 12 OS, problem is, I don't know how to handle the .tar.gz to make it happen. Any help appreciated.

Thanks Malcolm

Traceback ( most recent call last) when importing modules

$
0
0

Hi,

I installed ActiveState ActivePython 2.7 (32 bit) in Windows 7 32 bit machine.

I created a sample module and when i tried to import it im getting the below error.

Traceback (most recent call last):
File "", line 1, in
import sample
File "C:\Python27\sample.py", line 1
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
^
SyntaxError: invalid syntax

I checked for previous solution.

1) Tried rebooting my machine
2) Changed the environment variable

But still the issue is not resolved.

Please help in resolving this issue.

Thanks!!


ActivePython 2.7.3 - Is there any work being done on it, when will it be released?

$
0
0

Hi!

Are there any plans to release a 2.7.3 build of ActivePython? The current build available is 2.7.2, and hasn't been updated at least since June 2011. Python 2.7.3 was released on April 9, 2012.

According to this (http://community.activestate.com/node/8273) post on the Forums, dated Mon, 2012-04-02 19:44: "[...]with a release of 2.7.3 in the near future."

Thanks a lot

Having a problem? Check here first:

Problem running a Python Program and PyPM install packages

$
0
0

I'm running: Window 7 Enterprise

Download: ActivePython-3.2.2.3-win32-x86.msi
* ActivePython Documenation
* IDLE (Python GUI)
* Python Interactiveve Shell
* Python Package Manager (PyPM)

It went to directory:
C:\Python32

I save the following Python Program:
test.py
#! /usr/bin/env python3.2
primes=[2,3,5,7]
for i in primes:
print(i)

I tried to run my Python Program
F:\ > test.py
Choose the program you want to use to open this file: C:\python32.exe
And nothing happen, it did not run.

Could this be the problem and how can I correct it?

C:\Users\ngillem>echo "%PATH%
"C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Com
mon Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files
(x86)\ActivIdentity\ActivClient\;C:\Program Files (x86)\QuickTime\QTSystem\

-----------------------------------------------------------
I'm also having a problem Listing and Installing packages in the repository.

I select the following: Python Package Manager (PyPM)

C:\Windows\system32> pypm list
'pypm' is not recognized as an internal or external command, operable program or batch file.

C:\Windows\system32> pypm install beatifulsoup4
'pypm' is not recognized as an internal or external command, operable program or batch file.

Newbie stuck loading AS Python on OS X

$
0
0

Hello Friends:

I'm new to Python and ActiveState Python. I have installed AS Python on my OS X 10.7.5 Mac.
I open a terminal window and type python

This is what I get:

Miguel-Rezniceks-Mac-Pro:~ migs$ python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

Can someone lead me step by step to getting AS python to load?

Thanks in advance,

Miguel Reznicek

AP 2.7 does not install debug libs?

$
0
0

i'm building an app that embeds python

the debug build won't even link because "python27_d.lib" does not exist.

why not and/or where can i get it / how can i create it?

ActivePython 2.7 not found under Wine

$
0
0

hello,

i'm running Wine 1.6 on Xubuntu 12.04 and can't find ActivePython 2.7 at the Wine menu. In addition, when I try to install PyCrypto 2.1, an error message pops up: "Python version 2.7 required which was not found in the registry.

Here's what I did to install ActivePython (if it's relevant): a) downloaded AP, b) run "tar xzf ActivePython-2.7.2.5-linux-x86.tar.gz" + "cd ActivePython-2.7.2.5-linux-x86" + "./install.sh" in terminal.

can you please help? thanks!

Error when upgrading: "The Windows Installer Service could not be accessed"

$
0
0

Hello

I'm currently running ActivePython 2.5.1.1 on my XP Pro host.

After downloading and running the installer to 2.7.2.5, I get the following error message:

"Windows Installer: The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed."

Has someone seen this, and knows what to do?

Thank you.


MacOS Mavericks ActiveState Python inoperable

$
0
0

There seem to be multiple problems with 3.3 and 3.2 ActiveState Pythons on Mavericks.

So far I've found that

1) readline needs some low level patch in end user's computers, which end users of Python application are unlikely to have skill set or desire to do.

2) python GUI features don't draw or refresh correctly, for example pop-up tooltips in tkinter don't draw text at all, tree view open/close clicks only refresh seconds or minutes later, etc. Not sure if this is in Python or the 8.6 separate tcl install.

3) the distribution of py2app no longer builds an app under Mavericks, not sure if that's due to operation inside python or not

It seems that a thorough test cycle of all the features in all the releases of Python, & TCL is needed (some may need 3.3, TCL 8.6, some may need earlier releases).

PyScripter Installation

$
0
0

I am a beginner and interested in Python. I've downloaded the 3.3 version and everything seems to be OK. I would like to try PyScripter as an IDE and would like to know if there is any reason I can't download it, install it, and use it with the ActiveState version of Python.

Traceback Error from Python2.7 and 3.3 Interactive Shell Prompt

$
0
0

Okay!
Just successfully activated my ActiveState Komodo 8.x and tried to write my first interactive shell program. But when I navigated to Tools -> Interactive Shell -> Start New Python3 Shell, viola! I get series of traceback something looking like:

Traceback (most recent call last):
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 305, in
sys.exit( main(sys.argv) )
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 169, in main
_fixencoding()
File "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp", line 151, in _fixencoding
codeset = locale.getdefaultlocale()[1]
File "/usr/local/lib/python3.3/locale.py", line 505, in getdefaultlocale
return _parse_localename(localename)
File "/usr/local/lib/python3.3/locale.py", line 433, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: en_NG

Decided to pay the first file a visit (cos when you use Linux you need to learn to tweak some things right!) that is : "/root/Komodo-IDE-8/lib/support/dbgp/bin/py3_dbgp" ,
it started with : #!/usr/bin/env python , then tried running `python' in BASH but Python2.7 and not 3.3 started!

I was left with just one more tweak so I decided to unalias python from Python2.7 well it didn't work cos the alias my Python3.3 has is 'python3'.

Not sure what to do next, so I humbly implore the community to please help me out this.

Muchas Gracias! (I don't speak Spanish :-) )

Robust Python 3 Installation on Mac?

$
0
0

I am trying to achieve a robust Python 3 installation.
This is for learning and personal use only.
My starting point is a MacBook Air with OS X 10.9.2.
From the terminal window Python 2.7.5 works fine.
I installed Python 3.3.5 from python.org
IDLE sees Tcl/Tk 8.5.9 which it reports to be potentially unstable
I installed the recommended ActiveTcl 8.6.1
Python 3.3.5 still sees Tcl/Tk 8.5.9.
Finding that the binding is supposed to be dynamic upon installation I uninstalled Python 3.3.5
I reinstalled Python 3.3.5
Python 3.3.5 still sees Tcl/Tk 8.5.9.
I uninstalled Python 3.3.5 again
I installed ActivePython 3.3.2.0 (remember that ActiveTcl 8.6.1 is still installed)
AcivePython 3.3.2.0 still reports TclTk 8.5.9 in use and potentially unstable.
Other than giving thanks that I am not trying to make any money doing this, what next?

Error running first python script

$
0
0

I just installed Python 3.4 and Installed Komodo IDE. I created a simple file with the header and one line that was basically print (1)

When i run that file, i get the following error:

Is there something i'm doing wrong?

Traceback (most recent call last):
File "C:\Program Files (x86)\ActiveState Komodo IDE 8\lib\support\dbgp\bin\py3_dbgp.py", line 305, in
sys.exit( main(sys.argv) )
File "C:\Program Files (x86)\ActiveState Komodo IDE 8\lib\support\dbgp\bin\py3_dbgp.py", line 234, in main
if optarg in logging._levelNames:
AttributeError: 'module' object has no attribute '_levelNames'

Viewing all 48 articles
Browse latest View live