ubuntu-19.04

How to install Python 3.6 on Ubuntu 19.04?

大城市里の小女人 提交于 2021-02-15 11:38:22
问题 I've recently installed Ubuntu 19.04 which has Python 3.7 by default. I need to work on multiple projects that use Python 3.6 . Is there a way to install it on Disco Dingo ? I tried which works on 16.04 milano@milano-desktop:~$ sudo add-apt-repository ppa:jonathonf/python-3.6 ... milano@milano-desktop:~$ sudo apt-get install python3.6 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'python3.6-2to3' for regex 'python3.6' Note, selecting

Ubuntu 19.04 with R 3.6 - can't install R Shiny package?

对着背影说爱祢 提交于 2020-08-11 02:18:52
问题 Why there are errors below installing shiny in Ubuntu 19.04? > install.packages("shiny") Installing package into ‘/home/lau/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) also installing the dependency ‘httpuv’ trying URL 'https://cloud.r-project.org/src/contrib/httpuv_1.5.1.tar.gz' Content type 'application/x-gzip' length 1758514 bytes (1.7 MB) ================================================== downloaded 1.7 MB trying URL 'https://cloud.r-project.org/src/contrib/shiny_1.3.2

Problem Installing mysql-workbench on ubuntu 19.04

和自甴很熟 提交于 2020-01-23 06:14:55
问题 It says it is not available in any source. Tried using the debian provided by oracle. It says libssl versions are incompatible. Any help in this regard. 回答1: Now, mysql workbench is available for ubuntu 19.04 . You can manually install after downloading the file. Step 1: Direct download link- https://dev.mysql.com/downloads/file/?id=488567 OR Visit here select your OS then download as per OS version https://dev.mysql.com/downloads/workbench/ Step 2: sudo apt install file_path_of_downloaded

Problem Installing mysql-workbench on ubuntu 19.04

…衆ロ難τιáo~ 提交于 2020-01-23 06:14:42
问题 It says it is not available in any source. Tried using the debian provided by oracle. It says libssl versions are incompatible. Any help in this regard. 回答1: Now, mysql workbench is available for ubuntu 19.04 . You can manually install after downloading the file. Step 1: Direct download link- https://dev.mysql.com/downloads/file/?id=488567 OR Visit here select your OS then download as per OS version https://dev.mysql.com/downloads/workbench/ Step 2: sudo apt install file_path_of_downloaded

How to fix 'Can't open libmsodbcsql-17.3.so.1.1'

孤人 提交于 2020-01-04 02:17:05
问题 In ubuntu 19.04 when working with Python3 in an anaconda environment with pyodbc 4.0.26 installed I get the Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.3.so.1.1' : file not found (0) (SQLDriverConnect)") ! Installed msodbcsql17 in ubuntu 19.04 like described here. I tried all the suggestions from here and here. I did the analysis like described here. With pyodbc 4.0.26, it is possible to check the driver in the anaconda

Jupyter “500: Internal Server Error”; “ImportError: cannot import name ConverterMapping”

三世轮回 提交于 2020-01-02 02:56:06
问题 I'm trying to use Jupyter notebook on a fresh install of Ubuntu 19.04. I've run through the usual installation steps, but Jupyter does not work. When I try to open a notebook, I get 500 : Internal Server Error When I look in the terminal, I see that Jupyter has encountered the error ImportError: cannot import name ConverterMapping I've searched, and found questions/answers for other causes of the internal server error in Jupyter, but I cannot find a way to fix the ConverterMapping issue. I

npm 5.8.0 does not support Node.js v10.15.2 on Ubuntu 19.04

谁都会走 提交于 2019-12-11 16:31:28
问题 I am trying to build an application using Node.js integrated into Visual Studio Code . The most important versions of the software I have are: The version of Node.js I have is v10.15.2 . The version I have for npm is 5.8.0 . I have Ubuntu 19.04 as OS. It seems that there is a compatibility issue with the old npm . So I tried to do the following operations to correctly install the last version of npm : 1) npm uninstall -g npm 2) sudo npm cache clean -f 3) sudo npm install -g npm 4) npm -v but

After SDL_SetWindowSize resizes, drawing is done offset down the screen

无人久伴 提交于 2019-12-11 01:57:22
问题 I'm using Ubuntu 19.0.4 with SDL version 2.0.9+dfsg1-1ubuntu1. The code works fine with Visual Studio and MinGW's g++, and if I read others' comments right, other versions of Unix. But with Ubuntu, my version, it shows the rectangle drawn ~200 pixels down the screen (should be at 0, 0). There's a commented-out section that seems to fix it by delaying, but a) that's weird and b) I don't entirely trust it. Am I doing something wrong? Surely there's a fix that makes sense. #include <SDL.h>