It comes from Debian/Ubuntu-specific downstream patch. "/usr/lib/python3/dist-packages" is not part of Python upstream source. So it seems that python3.7.3 has something which causes add-apt-repository to reject/not find gi libraryĪuthor: Christian Heimes (christian.heimes) * The following NEW packages will be installedĪufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli pigzĠ to upgrade, 6 to newly install, 0 to remove and 0 not to upgrade.Īfter this operation, 384 MB of additional disk space will be used. If you are installing Anaconda on a desktop machine and you want to use the GUI application, install the following packages. I am using Ubuntu 18.04.1 LTS Bionic Beaver. Complete the following steps to install Anaconda on Ubuntu 20.04: Anaconda Navigator is a QT-based GUI. The following additional packages will be installed: Both of my machines have Pycharm installed before I installed Anaconda Navigator. (base) sudo apt-get install docker-ce docker-ce-cli Type "help", "copyright", "credits" or "license" for more information.Īfter changing the first line of /usr/bin/add-apt-repository in order to point to 3.6 version : #!/usr/bin/python3.6 everything went fine: Before we begin, open a terminal or connect via SSH. Python 3.7.3 (default, Mar 27 2019, 22:11:17) Step 1: Install OpenCV dependencies on Ubuntu 18.04 All steps today will be accomplished in the terminal/command line. ImportError: cannot import name '_gi' from 'gi' (/usr/lib/python3/dist. The first installation's steps went fine but I encountered this error message:įile "/usr/bin/add-apt-repository", line 11, in įrom softwareproperties.SoftwareProperties import SoftwareProperties,įile "/usr/lib/python3/dist-packages/softwarepropertiesįile "/usr/lib/python3/ dist-packages/gi/_init_.py", line 42, in I was trying to install Docker Engine in Ubuntu 18.04.02 Server Edition. After the license agreement and terms, the Anaconda is installed successfully in Ubuntu 22.04. Anaconda directory is created inside our home directory: The bashrc is initialized for anaconda. Python3.7.3 seems to cause add-apt-repository to rejct or not find gi libraryĬreated on 14:06 by Marco Ippolito, last changed 14:59 by admin. To install Anaconda on Ubuntu 22.04, run the anaconda.
0 Comments
Leave a Reply. |