ubuntu-20.04

Unable to locate package python-pip Ubuntu 20.04

允我心安 提交于 2020-07-16 00:46:09
问题 I am trying to install mininet-wifi. After downloading it, I have been using the following command to install it: sudo util/install.sh -Wlnfv However, I keep getting the error: E: Unable to locate package python-pip I have tried multiple times to download python-pip. I know mininet-wifi utilizes python 2 instead of python 3. I have tried to download python-pip using the command: sudo apt-get install python-pip But that leads to the same error: E: Unable to locate package python-pip 回答1: Since

Installing tiny_tds gem on Ubuntu 20.04 fails

橙三吉。 提交于 2020-07-10 09:03:28
问题 I want to insall tiny_tds on Ubuntu 20.04, so I do apt install freetds-dev and the install the gem gem install tiny_tds Works like a charm on Ubuntu 18.04, but 20.04 fails. the last lines of the output are: current directory: /home/myuser/.rvm/gems/ruby-2.7.0/gems/tiny_tds-2.1.2/ext/tiny_tds make "DESTDIR=" install make: /usr/bin/mkdir: Command not found make: *** [Makefile:202: .sitearchdir.-.tiny_tds.time] Error 127 make install failed, exit code 2 Any ideas on how to work around this? I

Package 'pgadmin4' has no installation candidate, for Ubuntu 20.04 [closed]

ε祈祈猫儿з 提交于 2020-07-05 03:14:12
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 17 days ago . Improve this question After Upgrading to Ubuntu-20.04 I am unable to install pgadmin4. Also, any other version of pgadmin is not working. It is showing below error: Package pgadmin4 is not available, but is referred to by another package. This may mean that the package is missing, has

Permission denied as root in docker containers

只谈情不闲聊 提交于 2020-06-27 18:36:07
问题 In the last couple of days I'm having some issues at building or running docker containers. It seems that root doesn't have permission of having access to the filesystem. Eg. I've created this very simple Dockerfile FROM centos RUN id && ls -l /usr/bin/yum /usr/bin/dnf-3 && yum install mlocate and when I try to build the image I get the error Step 1/2 : FROM centos ---> 470671670cac Step 2/2 : RUN id && ls -l /usr/bin/yum /usr/bin/dnf-3 && yum install mlocate ---> Running in f7b32a009a74 uid

Permission denied as root in docker containers

三世轮回 提交于 2020-06-27 18:36:06
问题 In the last couple of days I'm having some issues at building or running docker containers. It seems that root doesn't have permission of having access to the filesystem. Eg. I've created this very simple Dockerfile FROM centos RUN id && ls -l /usr/bin/yum /usr/bin/dnf-3 && yum install mlocate and when I try to build the image I get the error Step 1/2 : FROM centos ---> 470671670cac Step 2/2 : RUN id && ls -l /usr/bin/yum /usr/bin/dnf-3 && yum install mlocate ---> Running in f7b32a009a74 uid

Upgrade to Ubuntu 20.04 killed pip

本秂侑毒 提交于 2020-06-16 05:05:22
问题 I upgraded to Ubuntu 20.04 from 19.10 and now I cannot use pip. zeno:~$ pip --version Command 'pip' not found, but there are 18 similar ones. Python is installed: zeno:~$ python3 --version Python 3.8.2 but if I try to insatll pip, I get this: zeno:~/Desktop/tetris$ sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest version (20.0.2-5ubuntu1). The following packages were automatically installed

Upgrade to Ubuntu 20.04 killed pip

左心房为你撑大大i 提交于 2020-06-16 05:03:08
问题 I upgraded to Ubuntu 20.04 from 19.10 and now I cannot use pip. zeno:~$ pip --version Command 'pip' not found, but there are 18 similar ones. Python is installed: zeno:~$ python3 --version Python 3.8.2 but if I try to insatll pip, I get this: zeno:~/Desktop/tetris$ sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest version (20.0.2-5ubuntu1). The following packages were automatically installed

Python 3.7 on Ubuntu 20.04

僤鯓⒐⒋嵵緔 提交于 2020-05-27 04:37:10
问题 I am preparing a docker image for Ubuntu 20.04 and due to TensorFlow 2.0 requirement I need Python 3.7. TensorFlow runs on Python 3.5 to 3.7. Running apt install python3 installs Python 3.8 by default and that breaks my TensorFlow installation. Is there any way I can get apt package for Python 3.7 for Ubuntu 20.04? Since it is going to be inside docker image, I don't want to get into business of downloading Python 3.7 source code and compiling. Putting those commands in Dockerfile will be

Python 3.7 on Ubuntu 20.04

心已入冬 提交于 2020-05-27 04:37:06
问题 I am preparing a docker image for Ubuntu 20.04 and due to TensorFlow 2.0 requirement I need Python 3.7. TensorFlow runs on Python 3.5 to 3.7. Running apt install python3 installs Python 3.8 by default and that breaks my TensorFlow installation. Is there any way I can get apt package for Python 3.7 for Ubuntu 20.04? Since it is going to be inside docker image, I don't want to get into business of downloading Python 3.7 source code and compiling. Putting those commands in Dockerfile will be

How to install python-distutils

╄→гoц情女王★ 提交于 2020-05-09 07:44:08
问题 I am running ubuntu 20.04 with python 3.8, 3.7, and 3.6 installed. I am trying to install some packages using pip on 3.7 and 3.6 versions using 'python3.7 -m pip install package' but, I am getting ModuleNotFoundError: No module named 'distutils.util error. I have disutils installed but it works for python 3.8. Is there a workaround to install packages on python 3.7 and 3.6? 回答1: 1) Run update command to update package repositories and get latest package information sudo apt-get update -y 2)