Closed boyko- closed 9 years ago
Note that I'm running nice_install from within my venv
Is cython
installed in your venv? It looks like that's where the error is coming from. Can you show the output of python -c "import cython"
? If there's no cython, try conda install cython
Yes, cython is installed and the output of python -c "import cython"
is nothing (i.e. no errors). Anyway, thanks for the suggestion, Olga! I'm hoping Gabe takes a look at this and recognizes the pybedtools install error.
Nope, never seen it. On Oct 25, 2014 3:45 PM, "Boyko Kakaradov" notifications@github.com wrote:
Yes, cython is installed and the output of python -c "import cython" is nothing (i.e. no errors). Anyway, thanks for the suggestion, Olga! I'm hoping Gabe takes a look at this and recognizes the pybedtools install error.
— Reply to this email directly or view it on GitHub https://github.com/YeoLab/gscripts/issues/41#issuecomment-60500049.
I didn't do anything, but problem seems to have partially resolved itself. Now import cython
works, and pybedtools gets installed, but there are still ridiculous syntax errors in pybedtools/test/iterator_bug.py
Processing dependencies for gscripts==0.1.6
Searching for pybedtools>=0.5
Reading https://pypi.python.org/simple/pybedtools/
Best match: pybedtools 0.6.8
Downloading https://pypi.python.org/packages/source/p/pybedtools/pybedtools-0.6.8.tar.gz#md5=7c2f45c9e5abd57d83b4f94758e81c96
Processing pybedtools-0.6.8.tar.gz
Writing /tmp/easy_install-H0DZKG/pybedtools-0.6.8/setup.cfg
Running pybedtools-0.6.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-H0DZKG/pybedtools-0.6.8/egg-dist-tmp-qEYavW
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
File "build/bdist.linux-x86_64/egg/pybedtools/test/iterator_bug.py", line 14
print("\r%s" % c, end=' ')
^
SyntaxError: invalid syntax
zip_safe flag not set; analyzing archive contents...
pybedtools.__init__: module references __file__
pybedtools.scripts.__init__: module references __file__
pybedtools.scripts.py_ms_example: module references __file__
pybedtools.test.__init__: module references __file__
pybedtools.test.test_scripts: module references __file__
pybedtools.test.test_cbedtools: module references __file__
pybedtools.test.tfuncs: module references __file__
pybedtools.test.test_iter: module references __file__
File "/projects/ps-yeolab/software/anaconda-2.0.1_2014-08-12/envs/boyko_flotilla/lib/python2.7/site-packages/pybedtools-0.6.8-py2.7-linux-x86_64.egg/pybedtools/test/iterator_bug.py", line 14
print("\r%s" % c, end=' ')
^
SyntaxError: invalid syntax
Adding pybedtools 0.6.8 to easy-install.pth file
since we're using our environments now there's no need for nice_install