Hi all,
I want to use the wget library in python so I downloaded the .tar.gz file, extracted it and went to the file path with the setup.py file and tried ./setup.py and python setup.py but can't get it to work. I get errors.
Code:
brandon@brandon-NV57H:~/Downloads/wget-2.2$ ./setup.py
from: can't read /var/mail/distutils.core
./setup.py: line 4: syntax error near unexpected token `(
'
./setup.py: line 4: `def get_version(relpath):'
brandon@brandon-NV57H:~/Downloads/wget-2.2$ python setup.
py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd
2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
Can anyone help me get this up and running? I'm using python 2.7
Bookmarks