i guess the error is with cython because it generates pyslurm.c

*Unable to find pgen, not compiling formal grammar.*
i got this while installing cython but i ignored it because i thought this
is no error

On Fri, Apr 15, 2016 at 9:41 AM, Naajil Aamir <[email protected]>
wrote:

> Do i need pyslurm.c file having some code?because in pyslurm2.3.3 this
> file is empty and i installed it successfully but when i try to import
> pyslurm i get the following error
>
>
>
>
>
>
>
>
>
> *import pyslurmTraceback (most recent call last):  File "<stdin>", line 1,
> in <module>  File
> "/usr/local/lib/python2.7/dist-packages/pyslurm/__init__.py", line 17, in
> <module>    from .pyslurm import *ImportError: dynamic module does not
> define init function (initpyslurm)*
> This is what i get after installing pyslurm
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *mpiu@fypmaster-OptiPlex-330:~/Desktop/pyslurm-slurm-2.3.3$ sudo python
> setup.py buildINFO:root:Info:INFO:root:Info: Building PySlurm
> (2.3.3-1)INFO:root:Info:
> ------------------------------INFO:root:Info:INFO:root:Info: Cython version
> 0.24 installedrunning buildrunning build_pycopying pyslurm/__init__.py ->
> build/lib.linux-x86_64-2.7/pyslurmrunning build_extskipping
> 'pyslurm/pyslurm.c' Cython extension
> (up-to-date)mpiu@fypmaster-OptiPlex-330:~/Desktop/pyslurm-slurm-2.3.3$ sudo
> python setup.py installINFO:root:Info:INFO:root:Info: Building PySlurm
> (2.3.3-1)INFO:root:Info:
> ------------------------------INFO:root:Info:INFO:root:Info: Cython version
> 0.24 installedrunning installrunning buildrunning build_pyrunning
> build_extskipping 'pyslurm/pyslurm.c' Cython extension (up-to-date)running
> install_libbyte-compiling
> /usr/local/lib/python2.7/dist-packages/pyslurm/__init__.py to
> __init__.pycrunning install_egg_infoRemoving
> /usr/local/lib/python2.7/dist-packages/pyslurm-2.3.3_1.egg-infoWriting
> /usr/local/lib/python2.7/dist-packages/pyslurm-2.3.3_1.egg-infompiu@fypmaster-OptiPlex-330:~/Desktop/pyslurm-slurm-2.3.3$
> *
>
> On Thu, Apr 14, 2016 at 3:46 PM, Benjamin Redling <
> [email protected]> wrote:
>
>>
>> On 04/14/2016 11:08, Naajil Aamir wrote:
>> > Hi hope you are doing well. I am currently working on a scheduling
>> policy
>> > of slurm 2.3.2 for that i need *PYSLURM* version that is compatible with
>> > slurm 2.3.3 which i am unable to find on internet. It would be a great
>> help
>> > if you could provide a link to PYSLURM for Slurm 2.3.2 repository.
>>
>> Maybe the stale branches of pyslurm are what you are looking for?
>> https://github.com/PySlurm/pyslurm/branches
>>
>> 2.3.3 seems to be the oldest
>>
>> Benjamin
>> --
>> FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
>> vox: +49 3641 9 44323 | fax: +49 3641 9 44321
>>
>
>

Reply via email to