Having trouble using requests for urls
<p>I simply wrote the following code to play around with the Requests library     </p>

<pre><code>requests tests
import requests
r = requests.get('https://api.github.com/events')
</code></pre>

<p>but I keep getting the same error message, even if I use <code>from requests import *</code></p>

<pre><code>Traceback (most recent call last):
File "/Users/dvanderknaap/Desktop/Organized/CS/My_Python_Programs/requests.py", line 3, in &lt;module&gt;
import requests
File "/Users/dvanderknaap/Desktop/Organized/CS/My_Python_Programs/requests.py", line 5, in &lt;module&gt;
r = requests.get('https://api.github.com/events')
AttributeError: 'module' object has no attribute 'get'
</code></pre>

<p>I've tried reinstalling requests using <code>pip install requests</code>, but the output is: </p>

<pre><code>Requirement already satisfied (use --upgrade to upgrade): requests in /anaconda/lib/python3.5/site-packages
</code></pre>

<p>I think the problem is that it is installed in my python3.5 library but I am using python2.7, but I'm not sure how to fix that. 
Advice?</p>