Python 3 installing tweepy
<p>I have looked at all the forums, but nothing has worked so far. I have spent hours trying to install it so any help would be appreciated.
i have downloaded and unzipped tweepy, went on to the command prompt, typed "cd tweepy-master". This works, but when i type "python setup.py install" or "python setup.py build".</p>

<p>When i type "python setup.py install" the error says.</p>

<p>Traceback (most recent call last):
  File "setup.py", line 4, in 
    from setuptools import setup, find_packages
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools__init__.py", line 2, in 
    from setuptools.extension import Extension, Library
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools\extension.py", line 5, in 
    from setuptools.dist import _get_unpatched
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools\dist.py", line 103
    except ValueError, e:
                     ^
SyntaxError: invalid syntax</p>

<p>When i type "python setup.py build"</p>

<p>Traceback (most recent call last):
  File "setup.py", line 4, in 
    from setuptools import setup, find_packages
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools__init__.py", line 2, in 
    from setuptools.extension import Extension, Library
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools\extension.py", line 5, in 
    from setuptools.dist import _get_unpatched
  File "C:\Users\Sam Terrett\Documents\Portable Python 3.2.5.1\App\lib\site-packages\setuptools\dist.py", line 103
    except ValueError, e:
                     ^
SyntaxError: invalid syntax</p>

<p>I saw alot of people saying to use pip, but i am struggling to install that to.
Thanks for the help</p>

<p><code>pip</code> is the good way to install a package. If you are not interested then you can install from source.</p>

<p>But you have to remember that, If you are using <code>virtualenv</code> or <code>virtualenvwrapper</code> then you can use <code>python setup.py install</code> otherwise you should use <code>sudo python setup.py install</code>. </p>

<p>If you are windows user then, open your <code>cmd</code> with administator privilege and type <code>python setup.py install</code>.</p>

python python-3.x tweepy