ImportError: Entry point ('console_scripts', 'cython') not found #1697

Open
mariavd opened this Issue May 5, 2017 · 0 comments

Comments

Projects
None yet
1 participant

mariavd commented May 5, 2017

I have been having trouble compiling a program which needs Cython on my desktop with CentOS 7. I use Anaconda and particularly checked if Cython is installed:

[root@#### build]# conda install cython
Fetching package metadata .........
Solving package specifications: .   

# All requested packages already installed.
# packages in environment at /home/####/anaconda2:
#
cython                    0.25.2                   py27_0  
[root@#### build]# pip install cython
Requirement already satisfied: cython in /home/####/anaconda2/lib/python2.7/site-packages
[root@#### build]# which cython
/home/####/anaconda2/bin/cython
[root@#### build]# cython
Traceback (most recent call last):
  File "/home/####/anaconda2/bin/cython", line 11, in <module>
    load_entry_point('Cython==0.25.2', 'console_scripts', 'cython')()
  File "/home/####/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 560, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/####/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2647, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'cython') not found

The program has been successfully compiled on Ubuntu, so I suspect that Cython is not configured properly on my desktop. Could you recommend something to solve the issue? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment