Hi,
When I want to install cgns, I get an error which says cgnslib.h is not 
found. I think that should be fetched by pip since I am installing cgns. 
Isn't that?



$ python3.6 -m pip install cgns
Collecting cgns
  Using cached CGNS-2009.10.30.tar.gz
Building wheels for collected packages: cgns
  Running setup.py bdist_wheel for cgns ... error
  Complete output from command /usr/bin/python3.6 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-_28r5tm7/cgns/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d 
/tmp/tmp4vfl_nbopip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/CGNS
  copying src/CGNS.py -> build/lib.linux-x86_64-3.6/CGNS
  copying src/__init__.py -> build/lib.linux-x86_64-3.6/CGNS
  running build_ext
  building '_CGNS' extension
  swigging src/cgnslib.i to src/cgnslib_wrap.c
  swig -python -I/usr/include -o src/cgnslib_wrap.c src/cgnslib.i
  src/cgnslib.i:38: Error: Unable to find 'cgnslib.h'
  error: command 'swig' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cgns
  Running setup.py clean for cgns
Failed to build cgns
Installing collected packages: cgns
  Running setup.py install for cgns ... error
    Complete output from command /usr/bin/python3.6 -u -c "import 
setuptools, 
tokenize;__file__='/tmp/pip-build-_28r5tm7/cgns/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
/tmp/pip-n8fwlngl-record/install-record.txt 
--single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/CGNS
    copying src/CGNS.py -> build/lib.linux-x86_64-3.6/CGNS
    copying src/__init__.py -> build/lib.linux-x86_64-3.6/CGNS
    running build_ext
    building '_CGNS' extension
    swigging src/cgnslib.i to src/cgnslib_wrap.c
    swig -python -I/usr/include -o src/cgnslib_wrap.c src/cgnslib.i
    src/cgnslib.i:38: Error: Unable to find 'cgnslib.h'
    error: command 'swig' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-_28r5tm7/cgns/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record 
/tmp/pip-n8fwlngl-record/install-record.txt 
--single-version-externally-managed --compile --user --prefix=" failed with 
error code 1 in /tmp/pip-build-_28r5tm7/cgns/

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to