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

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.


Viewing all articles
Browse latest Browse all 48

Latest Images

Trending Articles



Latest Images