Friday, January 22, 2016

Python and uno python module - wrong.

I know that from some time and I think is wrong to lineup python modules with python and software.
Also I know just few people know how really working python with the python community and development team , but I need to show us how hard can be when you try to show or make a brief of open source.
Many people can tell about python can be a great programming language and can be used with open source software like LibreOffice.
Then you can stop and tell this:

Not working from years!

Let's see.
C:\Python34>cd Scripts

C:\Python34\Scripts>pip3.4.exe install uno
Collecting uno
  Downloading uno-0.3.3.tar.gz
Collecting py==1.4.22 (from uno)
  Downloading py-1.4.22.tar.gz (189kB)
    100% |################################| 192kB 687kB/s
    ...
 You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

so I update the pip application

C:\Python34\Scripts>C:\Python34\python.exe -m pip install --upgrade pip
Collecting pip
  Using cached pip-8.0.2-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 7.1.2
    Uninstalling pip-7.1.2:
      Successfully uninstalled pip-7.1.2
Successfully installed pip-8.0.2
Very good for now , but as we can see ... I got this:
C:\Python34\Scripts>cd ..

C:\Python34>python.exe toolpanel.py
Traceback (most recent call last):
  File "toolpanel.py", line 21, in <module>
    import uno
  File "C:\Python34\lib\site-packages\uno\__init__.py", line 4, in <module>
    from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField
ImportError: No module named 'base'</module></module>

If the development team will make one huge effort to fix all necessary python modules and all python source code from LibreOffice then we can tell:

It's working now.

No comments:

Post a Comment