Pritam
Pritam

Reputation: 31

Installing web.py

I know there are a lot of discussions over this question of installing web.py. I have checked most of them and did

pip install web.py
easy_install web.py
python setup.py

install after downloading and copying the files in the python34 folder. But still not working. First case:

>>> pip install web.py
  File "<stdin>", line 1
    pip install web.py
              ^
SyntaxError: invalid syntax

Second Case:

>>> easy_install web.py
  File "<stdin>", line 1
    easy_install web.py
                   ^
SyntaxError: invalid syntax

Third Case:

 python setup.py
  File "<stdin>", line 1
    python setup.py
               ^
SyntaxError: invalid syntax

Upvotes: 0

Views: 804

Answers (3)

SamB
SamB

Reputation: 49

Anyways here is the complete installation guide for web.py. By the way are you using pip in sudomode?

Upvotes: 0

ljk321
ljk321

Reputation: 16770

After download web.py source file, you don't need to copy it to python34 dir. Just put it somewhere you lik. In the folder where setup.py is located, use:

python setup.py install 

to install it.

Or simply in the terminal use:

pip install web.py

Upvotes: 1

st.eve
st.eve

Reputation: 114

pip and easy_install are command line programs, not python functions. So to get them to work, type into the terminal of your choice pip install web.py

Upvotes: 1

Related Questions