- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Languages and Scripting
- >
- How to use docx module in HP UX server with python
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-25-2020 01:49 AM - last edited on 06-25-2020 10:42 PM by Parvez_AL
06-25-2020 01:49 AM - last edited on 06-25-2020 10:42 PM by Parvez_AL
Hello everyone, I set up parsing and data collection on the server to display this information on the site. I collected the information and part of it is in Doks, to read it I need a module, but I get an error
File "/home/alla/.local/lib/python3.8/site-packages/docx/opc/phys_pkg.py", line 30, in new raise PackageNotFoundError( docx.opc.exceptions.PackageNotFoundError: Package not found at 'teste.docx'
I read this issue: https://community.hpe.com/t5/languages-and-scripting/how-to-install-pandas-and-numpy-in-hp-ux-server-with-python-2-7/td-p/7071927
But I already intall python modules
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-26-2020 12:24 AM
06-26-2020 12:24 AM
Re: How to use docx module in HP UX server with python
- How did you install Python -= specifically where did you get the Python package from and what specific commands did you run to install it?
- What command did you run to generate the error you list?
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2020 12:16 AM
06-30-2020 12:16 AM
Re: How to use docx module in HP UX server with python
Hi!
1) I install Python from there: https://community.hpe.com/t5/languages-and-scripting/how-to-install-pandas-and-numpy-in-hp-ux-server-with-python-2-7/td-p/7071927#.XvrkTs8zY5l
2) Error I got from terminal, I have button on site https://1x-rate.com/ which deployed on VPS(Digital Ocean), and VPS by POST request initiate on HP server python scrypt that use few modules numpy and docx to send docx to managers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-30-2020 04:31 AM
06-30-2020 04:31 AM
SolutionFrom your post, it seems you have python3.8 installed :
>> File "/home/alla/.local/lib/python3.8/site-packages/docx/opc/phys_pkg.py", line 30, in new raise PackageNotFoundError( docx.opc.exceptions.PackageNotFoundError: Package not found at 'teste.docx'
Could you please install a supported version of Python from the following link and check :
http://hpux.connect.org.uk/hppd/cgi-bin/search?term=python&Search=Search
You can find installation procedure and manpage at the download page itself.
Best Regards,
MJ
I work for HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-02-2020 01:59 AM
07-02-2020 01:59 AM
Re: How to use docx module in HP UX server with python
Thank you! Apparently I had a different version of Python preinstalled and they conflicted with each other and my scripts did not work correctly. Now everything is all right.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP