0

When creating virtual env via python3.7 -m venv myenv I get following error:

Error: Command '[/home/..../python3', '-lm', 'ensurepip', '--upgrade', '--deault-pip'] returned non-zero exit status 1

This seems to be solved my installing 3 python packages via: apt-get/yum install python3.7 python3-venv python3.7-venv according to pyvenv-3.4 returned non-zero exit status 1

However My linux server (RHEL 8.4) does not have internet connection therefore I need to download 3 packages mentioned above and then transfer it to the server.

Where can I install them?

  • I know I could spin up same os version then download files (last resort)
  • I'm aware of websites pkgs.org/, rpmfind.net : I cannot find all 3 packages.
sinoroc
  • 18,409
  • 2
  • 39
  • 70
haneulkim
  • 4,406
  • 9
  • 38
  • 80
  • This seems out of scope for StackOverflow. Maybe you should try one of the other Stack Exchange websites (Super User, Server Fault) – sinoroc Jan 25 '23 at 10:03

0 Answers0