Python Forum
Package Update without Internet Access on Host
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Package Update without Internet Access on Host
#4
Well this didn't work the way we thought. I downloaded and extracted the source for setuptools...

# cd /usr/local/src/setuptools-40.8.0
# /usr/uv/python/bin/python3 setup.py install

It ended up installing it along side the old version....
drwxrwxr-x 2 root root 4096 Feb 18 2015 setuptools-2.1.dist-info_bak
-rw-r--r-- 1 root root 1045146 Mar 27 13:46 setuptools-40.8.0-py3.4.egg
drwxrwxr-x 5 root root 4096 Feb 18 2015 setuptools_bak
-rw-r--r-- 1 root root 30 Mar 27 13:46 setuptools.pth

I had to rename setuptools-2.1.dist-info and setuptools so it would pick up the new version. Then we were good.

Do I need to do anything more than remove those two directories I renamed to remove the old package or is the more I need to do?

Thanks.
Reply


Messages In This Thread
RE: Package Update without Internet Access on Host - by pythonator - Mar-27-2019, 06:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Best Python course (internet or better software) for a unknowing. If possible German. Tobias_Claren 3 1,364 Dec-29-2022, 07:42 AM
Last Post: Gribouillis
  How to update Python package remotely? olegk 0 1,574 Jan-11-2021, 08:31 AM
Last Post: olegk
  Clone full Anaconda system to a PC without internet connection. Jstechg 3 9,511 Oct-24-2018, 07:41 AM
Last Post: Jstechg

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020