I would have to see the entire log to diagnose why the install failed. Feel free to upload it to <a href="http://gist.github.com">gist.github.com</a> and send us the link.<br><br><div class="gmail_quote">On Mon Nov 17 2014 at 4:49:13 PM Timothy Driscoll &lt;<a href="mailto:bioinformatics451@gmail.com">bioinformatics451@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks Michael. I&#39;ll give it a go under 2.6.<br>
<br>
just curious: any idea why it wasn&#39;t using the virtualenv? I&#39;m pretty sure I ran pip install from within one (see below). (I understand if this list is not the best venue for this question; I&#39;m just curious to know what I messed up.)<br>
<br>
<br>
[17-Mon 16:17:50] tpdriscoll@firefly:~<br>
$ source venv/bin/activate<br>
<br>
[17-Mon 16:18:28](venv) tpdriscoll@firefly:~<br>
$ pip2 install khmer<br>
<br>
Downloading/unpacking khmer<br>
  Downloading khmer-1.1.tar.gz (3.6MB): 3.6MB downloaded<br>
  Running setup.py (path:/tmp/pip_build_<u></u>tpdriscoll/khmer/setup.py) egg_info for package khmer<br>
    warning: no previously-included files found matching &#39;third-party/zlib/Makefile&#39;<br>
    warning: no previously-included files found matching &#39;third-party/zlib/zconf.h&#39;<br>
    warning: no previously-included files matching &#39;*.orig&#39; found anywhere in distribution<br>
    warning: no previously-included files matching &#39;*.pyc&#39; found anywhere in distribution<br>
Downloading/unpacking screed&gt;=0.7.1 (from khmer)<br>
  Downloading screed-0.7.1.tar.gz<br>
  Running setup.py (path:/tmp/pip_build_<u></u>tpdriscoll/screed/setup.py) egg_info for package screed<br>
Downloading/unpacking argparse&gt;=1.2.1 (from khmer)<br>
  Downloading argparse-1.2.2-py2.py3-none-<u></u>any.whl<br>
Installing collected packages: khmer, screed, argparse<br>
  Running setup.py install for khmer<br>
    got version from file /tmp/pip_build_tpdriscoll/<u></u>khmer/khmer/_version.py {&#39;version&#39;: &#39;1.1&#39;, &#39;full&#39;: &#39;<u></u>1fe98c92b5a9b3f46a5f4f05cd35d3<u></u>229ce2ff0a&#39;}<br>
    warning: no previously-included files found matching &#39;third-party/zlib/Makefile&#39;<br>
    warning: no previously-included files found matching &#39;third-party/zlib/zconf.h&#39;<br>
    warning: no previously-included files matching &#39;*.orig&#39; found anywhere in distribution<br>
    warning: no previously-included files matching &#39;*.pyc&#39; found anywhere in distribution<br>
    bash -c cd third-party/zlib &amp;&amp; ( test Makefile -nt configure || bash ./configure --static ) &amp;&amp; make -f Makefile.pic PIC<br>
...<br>
<br>
<br>
<br>
--<br>
timothy driscoll, phd<br>
twitter @MobileElement<br>
skype   bioinformatics451<br>
<br>
natural sciences 333<br>
department of biology<br>
western carolina university<br>
cullowhee nc 28723<br>
<br>
<a href="http://TheMobileElements.blogspot.com/" target="_blank">http://TheMobileElements.<u></u>blogspot.com/</a><br>
<br>
<br>
On Nov 17, 2014, at 4:42 PM, Michael R. Crusoe &lt;<a href="mailto:mcrusoe@msu.edu" target="_blank">mcrusoe@msu.edu</a>&gt; wrote:<br>
<br>
&gt; Thank you tim for your email.<br>
&gt;<br>
&gt; It should work under Python2.6.<br>
&gt;<br>
&gt; Note: your pip install error message indicates that you weren&#39;t using the virtualenv. Using the recommended install method you will have to activate the virtualenv each time you login and want to use khmer.<br>
&gt;<br>
&gt; On Mon, Nov 17, 2014, 16:34 Timothy Driscoll &lt;<a href="mailto:bioinformatics451@gmail.com" target="_blank">bioinformatics451@gmail.com</a>&gt; wrote:<br>
&gt; hello,<br>
&gt;<br>
&gt; I am trying to set up khmer in a RedHat Enterprise environment, following the instructions here:<br>
&gt;<br>
&gt; &lt;<a href="http://khmer.readthedocs.org/en/latest/user/install.html" target="_blank">http://khmer.readthedocs.org/<u></u>en/latest/user/install.html</a>&gt;<br>
&gt;<br>
&gt; khmer is said to require Python 2.7+, and RHE6 has Python 2.6 as default, so first I installed 2.7.5 as a Software Collection and permanently enabled it - successfully, it would seem:<br>
&gt;<br>
&gt; $ python -V<br>
&gt; Python 2.7.5<br>
&gt;<br>
&gt; then I created a virtualenv, activated it, and ran pip install khmer. that failed:<br>
&gt;<br>
&gt;<br>
&gt; creating /usr/lib64/python2.6/site-<u></u>packages/khmer<br>
&gt; error: could not create &#39;/usr/lib64/python2.6/site-<u></u>packages/khmer&#39;: Permission denied<br>
&gt;<br>
&gt;<br>
&gt; but I fixed it with sudo. that install succeeded, but it looks like it installed it under python 2.6. running nosetests:<br>
&gt;<br>
&gt;<br>
&gt; $ nosetests khmer --attr &#39;!known_failing&#39;<br>
&gt; E<br>
&gt; ==============================<u></u>==============================<u></u>==========<br>
&gt; ERROR: Failure: ImportError (No module named khmer)<br>
&gt; ------------------------------<u></u>------------------------------<u></u>----------<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;/opt/rh/python27/root/usr/<u></u>lib/python2.7/site-packages/<u></u>nose/loader.py&quot;, line 402, in loadTestsFromName<br>
&gt;     module = resolve_name(addr.module)<br>
&gt;   File &quot;/opt/rh/python27/root/usr/<u></u>lib/python2.7/site-packages/<u></u>nose/util.py&quot;, line 311, in resolve_name<br>
&gt;     module = __import__(&#39;.&#39;.join(parts_<u></u>copy))<br>
&gt; ImportError: No module named khmer<br>
&gt;<br>
&gt; ------------------------------<u></u>------------------------------<u></u>----------<br>
&gt; Ran 1 test in 0.001s<br>
&gt;<br>
&gt; FAILED (errors=1)<br>
&gt;<br>
&gt;<br>
&gt; will khmer run ok under Python 2.6? if not, is there a work-around to install it in Python 2.7 for RH? I can&#39;t overwrite the default Python, and I&#39;m conversant with linux but not an expert.<br>
&gt;<br>
&gt;<br>
&gt; thanks in advance for any help,<br>
&gt;<br>
&gt; tim<br>
&gt; --<br>
&gt; timothy driscoll, phd<br>
&gt; twitter @MobileElement<br>
&gt; skype   bioinformatics451<br>
&gt;<br>
&gt; natural sciences 333<br>
&gt; department of biology<br>
&gt; western carolina university<br>
&gt; cullowhee nc 28723<br>
&gt;<br>
&gt; <a href="http://TheMobileElements.blogspot.com/" target="_blank">http://TheMobileElements.<u></u>blogspot.com/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<u></u>_________________<br>
&gt; khmer mailing list<br>
&gt; <a href="mailto:khmer@lists.idyll.org" target="_blank">khmer@lists.idyll.org</a><br>
&gt; <a href="http://lists.idyll.org/listinfo/khmer" target="_blank">http://lists.idyll.org/<u></u>listinfo/khmer</a><br>
<br>
</blockquote></div>