geopython / geopython/pywps-flask

ModuleNotFoundError: No module named 'pywps.wpsserver'

Open
#61 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
28
PR merge metrics
No merged PRs in 30d

Description

There seems to be an incompatibility between the latest versions of `pywps` (4.5.0) and `pywps-flask` (master branch as of today).

```shell
$ git clone https://github.com/geopython/pywps-flask.git .

$ python demo.py
Traceback (most recent call last):
File "demo.py", line 36, in
from processes.area import Area
File "/home/jovyan/wps/pywps-flask/processes/area.py", line 6, in
from pywps.wpsserver import temp_dir
ModuleNotFoundError: No module named 'pywps.wpsserver'

$ python
Python 3.6.9
>>> import pywps
>>> pywps.__version__
'4.5.0'
```

For what it's worth, I also tried using an earlier version of `pywps`, but that led to other dependency version conflicts.

```shell
$ pip install pywps flask
Requirement already satisfied: pywps in /env/lib/python3.6/site-packages (4.2.4)
Requirement already satisfied: flask in /env/lib/python3.6/site-packages (2.0.0)
Requirement already satisfied: werkzeug in /env/lib/python3.6/site-packages (from pywps) (2.0.1)

$ python -c "import pywps"
Traceback (most recent call last):
File "/env/lib/python3.6/site-packages/pywps/exceptions.py", line 17, in
from werkzeug._compat import text_type
ModuleNotFoundError: No module named 'werkzeug._compat'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.