Thank you tim for your email.<br><br>It should work under Python2.6. <br><br>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><br><div class="gmail_quote">On Mon, Nov 17, 2014, 16:34 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">hello,<br>
<br>
I am trying to set up khmer in a RedHat Enterprise environment, following the instructions here:<br>
<br>
&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>
<br>
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>
<br>
$ python -V<br>
Python 2.7.5<br>
<br>
then I created a virtualenv, activated it, and ran pip install khmer. that failed:<br>
<br>
<br>
creating /usr/lib64/python2.6/site-<u></u>packages/khmer<br>
error: could not create &#39;/usr/lib64/python2.6/site-<u></u>packages/khmer&#39;: Permission denied<br>
<br>
<br>
but I fixed it with sudo. that install succeeded, but it looks like it installed it under python 2.6. running nosetests:<br>
<br>
<br>
$ nosetests khmer --attr &#39;!known_failing&#39;<br>
E<br>
==============================<u></u>==============================<u></u>==========<br>
ERROR: Failure: ImportError (No module named khmer)<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
Traceback (most recent call last):<br>
  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>
    module = resolve_name(addr.module)<br>
  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>
    module = __import__(&#39;.&#39;.join(parts_<u></u>copy))<br>
ImportError: No module named khmer<br>
<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
Ran 1 test in 0.001s<br>
<br>
FAILED (errors=1)<br>
<br>
<br>
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>
<br>
<br>
thanks in advance for any help,<br>
<br>
tim<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>
<br>
______________________________<u></u>_________________<br>
khmer mailing list<br>
<a href="mailto:khmer@lists.idyll.org" target="_blank">khmer@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/khmer" target="_blank">http://lists.idyll.org/<u></u>listinfo/khmer</a><br>
</blockquote></div>