- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to use docx module in HP UX server with py...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
тАО06-25-2020 01:49 AM - last edited on тАО06-25-2020 10:42 PM by Parvez_Admin
тАО06-25-2020 01:49 AM - last edited on тАО06-25-2020 10:42 PM by Parvez_Admin
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
- 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
- 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
- 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
- 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.