Comments (5)
Do you have already tried something like this at the travis configuration file?
python:
- "3.5_with_system_site_packages"```
from pyrosar.
We can try to use pygdal to install the python gdal bindings.
I can get the python2.7 test going with these changes to the .travis.yml:
python:
- "2.7"
- "3.4"
- "3.5"
virtualenv:
before_script:
install:
- pip install -r requirements.txt
- pip install coveralls
- pip install coverage
- pip install "pygdal>=2.1.3,<=2.1.3.999"
- python setup.py install
before_install:
- sudo add-apt-repository ppa:ubuntugis/ppa -y
- sudo apt-get update -q
- sudo apt-get install gdal-bin python-gdal python3-gdal libproj-dev libgdal1-dev -y
- pip install -U pip
Unfortunately, in python 3 I get an import error. The importing of ogr fails.
from pyrosar.
Unfortunately, in python 3 I get an import error. The importing of ogr fails.
This is exactly the same error that I got. And I tried with all of my packages and the result is always the same.
from pyrosar.
After some dependency wrangling, I've got a WIP patch that works testing Python 3.4 - 3.7 on Travis-CI.
See: https://travis-ci.org/Echelon9/pyroSAR/builds/455867555
Changes required before the patch could be properly upstreamed:
- Clean up the documentation.
- Confirm this doesn't regress Windows CI on appveyor.
- Resolve the Python 2.7 only problem with sqlite dependencies [appears unrelated to this patch].
For discussion:
- Preferred GDAL Python binding: Unofficial
pygdal
has some real problems, I would instead strongly recommend using the officialgdal
Python package to provide the bindings to the local libgdal-dev.
The benefits of using the official gdal
Python package bindings are full support for Python 3, lockstep version releases alongside libgdal-dev, and with some clever scripting (see .travis.yml in the patch) it can be automated as part of the instructions to setup a development environment.
from pyrosar.
As of March 29, testing is now done with Python 3.5 in Ubuntu Xenial. This is currently the latest setup to support using system site packages
from pyrosar.
Related Issues (20)
- refid KeyError when adding SNAP "Collocate" node to workflow HOT 5
- handling of GEE image catalogs HOT 6
- Geocode creates temp files but never completes it's process HOT 26
- change a property in `/etc/snap.properties` via pyroSAR HOT 5
- encountering FileNotFoundError during parse_node HOT 6
- `snap.auxdata.dem_create` Check if files listed in VRT exist HOT 2
- dem_create hangs when using gdal 3.4.1 and pyroSAR 0.16 HOT 7
- Cannot read version information from messages.log HOT 2
- beta0 output possible with snap.util.geocode? HOT 2
- control `snap.geocode` processing extent via `externalDEMFile`
- Inconsistent Group Error [SNAP] HOT 1
- NoData on ocean pixels with Copernicus 30m Global DEM HOT 6
- AWS Copernicus DEM ancillary products HOT 1
- Add support for sarsen calibration HOT 2
- UnicodeDecodeError & Range-doppler HOT 1
- sqlalchemy connection issue in drivers.py HOT 16
- new Copernicus DEM download option
- UserWarning: could not find Gamma installation directory; please set the GAMMA_HOME environment variable HOT 3
- Installation problem HOT 3
- inability to process scenes crossing the antimeridian
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrosar.