Skip to content

ERROR: python setup.py install --prefix=/somewhere #15

@ifantasy

Description

@ifantasy

When I typed the command python setup.py install --prefix=/somewhere/rnaseqlib-clip, the first lines were presented as follows:

/somewhere/anaconda2/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
/somewhere/anaconda2/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)

Why it said that 'entry_points' and install_requires were unknown?

Two directories bin and build were generated in /somewhere/rnaseqlib-clip. In bin, there were only two files, gtf2gff3.pl and ucsc_table2gff3.pl.

I typed /somewhere/rnaseqlib-clip/build/lib/rnaseqlib/gff/gff_make_annotation.py --help, but error messages made me frustrated.

import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
import: unable to open X server `' @ error/import.c/ImportImageCommand/368.
/somewhere/rnaseqlib-clip/build/lib/rnaseqlib/gff/gff_make_annotation.py: line 15: syntax error near unexpected token `('
/somewhere/rnaseqlib-clip/build/lib/rnaseqlib/gff/gff_make_annotation.py: line 15: `def make_annotation(args):'

I knew I didn't install rnaseqlib successfully. How to solve this?
P.S. All packages in install_requires had been already installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions