[Libreoffice-bugs] [Bug 143867] Python Implementation Poorly Conceived with No Package Installation Process
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 17 23:49:47 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143867
--- Comment #6 from flywire <flywire0 at gmail.com> ---
Created attachment 174360
--> https://bugs.documentfoundation.org/attachment.cgi?id=174360&action=edit
Pip Missing DLL Error
pip maintainers consider LibreOffice python install is incomplete because pip
should be installed as part of the distribution -
https://github.com/pypa/pip/issues/10006#issuecomment-899956947
Regardless, it will not run following pip documentation. *IF* pip is installed
properly then packages install as expected.
Installing in as a venv still needs consideration.
--------------------
Tested on LibreOffice 7.2 (Python 3.8) [LibreOffice 7.0 (Python 3.7) not
tested].
Following [Ensure you can run pip from the command
line](https://packaging.python.org/tutorials/installing-packages/#id13)
> If that still doesn’t allow you to run python -m pip
```
Microsoft Windows [Version 10.0.19043.1165]
(c) Microsoft Corporation. All rights reserved.
C:\Program Files\LibreOffice\program>python -m get-pip.py
C:\Program Files\LibreOffice\program\python-core-3.8.10\bin\python.exe: Error
while finding module specification for 'get-pip.py' (ModuleNotFoundError:
__path__ attribute not found on 'get-pip' while trying to find 'get-pip.py')
C:\Program Files\LibreOffice\program>python get-pip.py
Defaulting to user installation because normal site-packages is not writeable
Collecting pip
Using cached pip-21.2.4-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.4
Uninstalling pip-21.2.4:
Successfully uninstalled pip-21.2.4
WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in
'C:\Users\User\AppData\Roaming\Python\Python38\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this
warning, use --no-warn-script-location.
Successfully installed pip-21.2.4
```
I don't know where it found existing installation, it wasn't in the path and
that folder was empty until pip was installed. Maybe `get-pip.py` needs to be
downloaded to `C:\Program Files\LibreOffice\program\python-core-3.8.10\bin`.
**Sadly it won't run because the dll is not in the path or current folder:**
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210817/726351cd/attachment.htm>
More information about the Libreoffice-bugs
mailing list