<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>On 28 May 2015, at 12:22, Ned Batchelder &lt;<a href="mailto:ned@nedbatchelder.com">ned@nedbatchelder.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span>On 5/28/15 5:00 AM, Chris Withers wrote:</span><br><blockquote type="cite"><span>On 28/05/2015 09:05, Chris Withers wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>On 28/05/2015 07:47, Chris Withers wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>When running the tests with nose locally, I get lots of:</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>nosetests --with-cov --cov=picky</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>'picky.handlers',</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span> &nbsp;'ERROR',</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span> &nbsp;'pip gave errors: Error processing line 1 of /Users/chris/.local/lib/python2.7/site-packages/init_cov_core.pth:\n\n Traceback (most recent call last):\n &nbsp;&nbsp;&nbsp;File "/Users/chris/anaconda/envs/picky27/lib/python2.7/site.py", line 161, in addpackage\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exec line\n &nbsp;&nbsp;&nbsp;File "&lt;string&gt;", line 1, in &lt;module&gt;\n &nbsp;ImportError: No module named cov_core_init\n\nRemainder of file ignored\n'),</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Well, my guess is this had to do with cov-core being installed in the root conda rather than a conda environment.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I've uninstalled and manually deleted the file; the problem is I have a feeling that I manually deleted that file before and it came back :-S</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>yep, I created a new conda environment, installed coverage using the pip from the new environment, and hey presto, the file is back. Why is coverage (cov-core?) picking /Users/chris/.local/lib/python2.7/site-packages/init_cov_core.pth to put this path rather than somewhere inside the conda environment?</span><br></blockquote><span>This sounds like a complicated configuration. &nbsp;Any chance you can provide detailed reproduction instructions?</span><br></div></blockquote><div><br></div>This should cover it:<div><br></div><div><a href="http://picky.readthedocs.org/en/latest/development.html#setting-up-the-environment">http://picky.readthedocs.org/en/latest/development.html#setting-up-the-environment</a></div><div><br></div><div>Cheers,</div><div><br></div><div>Chris</div><div><br></div><div><br></div></body></html>