- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- How to use Python additional packages without an i...
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
Forums
Discussions
Discussions
Discussions
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
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
05-13-2022 06:14 AM
05-13-2022 06:14 AM
python task additionalPackages unable to install as app server doesnt have internet connection Screen Shot on 2022-05-13 at 14-10-32.png - Droplr
we have installed them manually. On app server we have python3 installed and pip freeze shows the requests module.
su to morpheus-local and pip freeze shows requests
Solved! Go to Solution.
- Tags:
- automation
- Python

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:19 AM
05-13-2022 06:19 AM
Re: How to use Python additional packages without an internet connection?
There is a way

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:19 AM
05-13-2022 06:19 AM
Re: How to use Python additional packages without an internet connection?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:18 AM
05-13-2022 06:18 AM
Re: How to use Python additional packages without an internet connection?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:19 AM
05-13-2022 06:19 AM
Re: How to use Python additional packages without an internet connection?
I defer to the python prime minister nick on this one

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:22 AM
05-13-2022 06:22 AM
Re: How to use Python additional packages without an internet connection?
3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:21 AM
05-13-2022 06:21 AM
Re: How to use Python additional packages without an internet connection?
But feel free to throw rubies at me any day

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:21 AM
05-13-2022 06:21 AM
Re: How to use Python additional packages without an internet connection?
Lol pretty much

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:21 AM
05-13-2022 06:21 AM
Re: How to use Python additional packages without an internet connection?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:36 AM
05-13-2022 06:36 AM
Re: How to use Python additional packages without an internet connection?
replace with the path where the packages are kept

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:27 AM
05-13-2022 06:27 AM
Re: How to use Python additional packages without an internet connection?
that’s an option to virtualenv. one sec

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:24 AM
05-13-2022 06:24 AM
Re: How to use Python additional packages without an internet connection?
If you’ve still got the files you used to install requests and it’s dependencies, you can specify the filenames as the additional packages and pip will install them from the files

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:28 AM
05-13-2022 06:28 AM
Re: How to use Python additional packages without an internet connection?
Yeah, it’s a switch to virtualenv, which we can’t modify. One sec

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:18 AM
05-13-2022 06:18 AM
Re: How to use Python additional packages without an internet connection?
You cant since we use virtualenv

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:26 AM
05-13-2022 06:26 AM
Re: How to use Python additional packages without an internet connection?
we installed requests via yum

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:21 AM
05-13-2022 06:21 AM
Re: How to use Python additional packages without an internet connection?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:26 AM
05-13-2022 06:26 AM
Re: How to use Python additional packages without an internet connection?
is there a way to import from sys?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:48 AM
05-13-2022 06:48 AM
Re: How to use Python additional packages without an internet connection?
Brilliant, that worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:36 AM
05-13-2022 06:36 AM
Re: How to use Python additional packages without an internet connection?
cool, trying that

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:19 AM
05-13-2022 06:19 AM
Re: How to use Python additional packages without an internet connection?
Ah, yeah, because a new virtualenv is created when the task is run.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:35 AM
05-13-2022 06:35 AM
Re: How to use Python additional packages without an internet connection?
import sys sys.path.append('/usr/lib/python3/dist-packages')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:26 AM
05-13-2022 06:26 AM
Re: How to use Python additional packages without an internet connection?
python3-requests

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:19 AM
05-13-2022 06:19 AM
Re: How to use Python additional packages without an internet connection?
The packages are isolated

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:17 AM
05-13-2022 06:17 AM
Re: How to use Python additional packages without an internet connection?
Are you putting requests in the the additional packages dialog when it’s already installed?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 06:17 AM
05-13-2022 06:17 AM
Re: How to use Python additional packages without an internet connection?
tried without requests in the additional packages and it fails with ModuleNotFound error