Assets 4
  • 1.6.00 :
    • Fix version "dname" display issue, add details about setuptools dependency
    • MOTU-149: Motu Client - PyPi repository - import motu-client & pip install --user are not working
Assets 4

WARNING: A patch needs to be applied to this version to fix 2 issues:
ISSUE 1: Setup tools has to be installed to fix issue ImportError: No module named pkg_resources
ISSUE 2: a line starting with "dname" is displayed which make turns in error some responses like "version" or "describe product"

Fix issue 1:
Here is the issue:
python --version
Traceback (most recent call last):
File "", line 76, in
import motu_api
File "/opt/__admintools/test/motu-client-python/motuclient/", line 37, in
from pkg_resources import get_distribution
ImportError: No module named pkg_resources

How to fix it (you have to install setuptools):
sudo apt install python-pip
pip install --upgrade setuptools
python ./ --version
motu-client-python v1.5.00


Fix issue 2:
The line starting with « dname » won’t be visible in the next version. In order to remove it from this version:

  • Remove line « “print "dname=" + dname”” by editing manualy the file motuclient/”
  • or run the command:
    head -n 10 ./motuclient/ | tail -n 1 | cut -c9-13 | grep -q print && sed -i '10d' ./motuclient/

Test it, and now it works fine:
python ./ --version
motu-client-python v1.5.00


  • 1.5.00 :
    • [Fix]
      • runs only from the folder where it is installed, otherwise a pom.xml file not found is raised
      • JIRA MOTU-132: Update the error message of the motu-client in case of authentication error
      • #3: Comment the parent in pom.xml
    • [New]
      • Refactor source to be able to install from PIP (
      • Update to explain how to install and to use from PIP.
      • JIRA MOTU-140: Add new parameters to getreqstatus http request to set dataset infos (Not used by the Motu server, but usefull for some frontal server for new central CMEMS DU)

@clstoulouse clstoulouse released this Apr 10, 2017 · 27 commits to master since this release

Assets 4
  • 1.4.00 :
    • [client-python]
      • Fix usage of special character in password. Add example in file.
      • Add new command line options --size, --describe-product, --console-mode or -o console
      • Add command line examples in

@clstoulouse clstoulouse released this Feb 15, 2017 · 49 commits to master since this release

Assets 4

1.3.00 :
- [client-python]
- Manage better Apache frontal redirection. Fix issue which enables to redirect Motu v2.x URLs to a Motuv3.x URLs.