[gdal-dev] How to run autotest

Fengting Chen fengting.chen at oracle.com
Fri Apr 5 12:57:50 PDT 2019


Hi,

I followed the description in CONTRIUBTING.md on running autotest suite:

/cd ../autotest//
//pip install -r requirements.txt//
//pytest/

At the last step, pytest gave the following error:

/ImportError while loading conftest 
'/scratch/gdal/gdal/autotest/conftest.py'.//
///home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_//
//    exec("""exec _code_ in _globs_, _locs_""")//
//conftest.py:9: in <module>//
//    from osgeo import gdal//
//E   ImportError: No module named osgeo/

Any thing I need to do to fix this?

Thanks,

-Fengting


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190405/4fa1da92/attachment.html>


More information about the gdal-dev mailing list