How to use dateutil.relativedelta in Python 3.x?
<p>Hello I am trying to use <code>relativedelta</code> from the <code>dateutil</code> module.</p>

<p>I want to do what is mentioned <a href="https://stackoverflow.com/questions/4130922/how-to-increment-datetime-by-custom-months-in-python-without-using-library">here</a>, add some months to a given <code>datetime</code> object.</p>

<p>But I'm trying to use Python 3 for this and I am getting the following error:</p>

<pre><code>Traceback (most recent call last):
  File "bin/controller.py", line 2, in &lt;module&gt;
    from dateutil.relativedelta import relativedelta
ImportError: No module named 'dateutil'
</code></pre>

<p>I then read that dateutil is now part of Python 3 but how do I import it?
<code>import dateutil</code> does not seem to work:</p>

<pre><code>Traceback (most recent call last):
  File "bin/controller.py", line 3, in &lt;module&gt;
    import dateutil
ImportError: No module named 'dateutil'
</code></pre>

<p>I am using a virtualenv so I would like to install it with <code>pip</code>.</p>