Reputation: 31
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
Reputation: 49
Anyways here is the complete installation guide for web.py. By the way are you using pip
in sudo
mode?
Upvotes: 0
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
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