Problem with Cython while installing.

52 views
Skip to first unread message

specia...@gmail.com

unread,
Feb 4, 2019, 1:38:57 AM2/4/19
to PLUMED users
Hello Everyone,

I am trying to install plumed 2.5.0 on my local machine, so i launch ./configure --prefix=/opt , i Make, but during the installation i get this error:

plumed.cpp not found, cython is needed
importing cython
Error: building plumed requires cython. Please install it first with pip install cython
Makefile:247: recipe for target 'install' failed
make[2]: *** [install] Error 255
make[2]: Leaving directory '/home/carlo/Downloads/plumed-2.5.0/src/lib'
Makefile:11: recipe for target 'install' failed

So the first thing is that i actually have a plumed.cpp file in ./python when running "sudo make install", so i am not sure why the program doesn't find it. Secondly I have cython installed and "which cython" outputs /home/carlo/programs/anaconda2/bin/cython

I guess there's some problems with some internal references, but i don't know where. Can anyone help me fix this?

Best regards,
Carlo Martinotti

Giovanni Bussi

unread,
Feb 4, 2019, 2:04:51 AM2/4/19
to plumed...@googlegroups.com
I think root user cannot see cython because it is installed locally.

Are you sure you want to install plumed as root but link it to a user installed anaconda?

You can disable python wrappers (with configure —disable-python) and, if you need them, install them separately with pip install —user plumed

Giovanni 

--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/e94e8cdb-fa2b-41f5-baa8-a807f6703fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from Gmail mobile
Reply all
Reply to author
Forward
0 new messages