Plumed pyx and installation issue

15 views
Skip to first unread message

Mandar Kulkarni

unread,
Jun 26, 2026, 11:11:42 PM (3 days ago) Jun 26
to PLUMED users
Hi,
I am installing Plumed 2.9.0 on Ubuntu 22.04 LTS. Cython version is 3.2.6. May I know what changes needed to make work Plumed 2.9.0.

plumed.pyx is causing error:

Compiling plumed.pyx because it changed.

[1/1] Cythonizing plumed.pyx

Error compiling Cython file:

------------------------------------------------------------

...

         cdef char* ckey = py_bytes

         cdef char* cval

         if val is None :

            self.cmd_low_level(ckey,NULL,0,NULL,type_nullptr)

            return

         if isinstance(val, (int,long) ):

                                 ^

------------------------------------------------------------

plumed.pyx:232:33: undeclared name not builtin: long

Best,

Mandar

Mandar Kulkarni

unread,
Jun 28, 2026, 10:05:35 AM (2 days ago) Jun 28
to PLUMED users
Changing line type to int, solved the problem.

Changed line 232 of python/plumed.pyx (plumed 2.9.0) to

         if isinstance(val, int ):

Best,
Mandar
Reply all
Reply to author
Forward
0 new messages