<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I'm sorry to hear about the difficulty, Kyle (Titus?). If you
could say more about how you are running Python (virtualenv
perhaps?), and how you installed coverage, we can try to get to
the bottom of it.</p>
<p>I would recommend creating and activating a virtualenv with the
version of Python you want. Then "pip", "python", and "coverage"
will all refer to that version and installation of Python.</p>
<p>--Ned.<br>
</p>
<br>
<div class="moz-cite-prefix">On 6/21/17 10:41 AM, Kyle Foley wrote:<br>
</div>
<blockquote
cite="mid:CAPZ+X8eCvdD0_7Cb0-JyQsLWXAgA5X_iaO+jZeUsuCrvcdyx1w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div class="m_-8393784642671728052HOEnZb">
<div class="m_-8393784642671728052h5"><br>
> When I run my python program it works but I use
python 3. If I run it on<br>
> python 2 it does not work. When I run coverage from
the command line, it<br>
> automatically runs my program on python 2 and hence
it fails. How do I run<br>
> coverage so that it runs my program using python 3?</div>
<div class="m_-8393784642671728052h5"><br>
</div>
<div class="m_-8393784642671728052h5">Plus the command</div>
<div class="m_-8393784642671728052h5"><br>
</div>
<div class="m_-8393784642671728052h5">coverage3 yields bash
command not found. I'm using Mac terminal by the way.</div>
<div class="m_-8393784642671728052h5"><br>
</div>
<div class="m_-8393784642671728052h5"><br>
><br>
> I should also point out that I'm using the Mac
terminal.<br>
<br>
</div>
</div>
<span class="m_-8393784642671728052HOEnZb"><font
color="#888888">--<br>
C. Titus Brown, <a moz-do-not-send="true"
href="mailto:ctbrown@ucdavis.edu" target="_blank">ctbrown@ucdavis.edu</a><br>
</font></span></div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
<br>
</body>
</html>