I downloaded ActivePython-2.7.2.5-win32-x86 and installed the software as instructed on the documentation. But pypm is not working at all. From the documentation, I believed that I just need this code in the IDLE (Python GUI) after successfully installing Python:
C:\> pypm install pandas
to install and load the package. However, I kept getting the syntaxerror shown as below
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> C:\> pypm install pyramid
SyntaxError: invalid syntax
I also get the same error message when I try to run the same code:
C:\> pypm install pandas
in Python interactive shell as below:
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> C:\> pypm install pyramid
File "<stadin>", line 1
C:\> pypm install pyramid
^
SyntaxError: invalid syntax
I did try to open the Python Package Manager (PyPM) to check if anything wrong there. I found the below lines in the PyPM window:
'pypm' is not recognized as an internal or external command,
operable program or hatch file.
C:\windows\system32>
I really do not know where I did wrong, I tried to uninstall ActivePython 2.7.2.5 and reinstall again several times, I still get the same error messages.
When I just type
pypm install pandas
in Python interactive shell as below:
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> pypm install pyramid
File "<stadin>", line 1
pypm install pyramid
^
SyntaxError: invalid syntax
Still the same error message.
I tried to uninstall ActivePython 2.7.2.5 and reinstall again several times, still get the same error messages. I am using Windows 7 operation system.