ubuntu-18.04

Tensorflow complains that no CUDA-capable device is detected

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-30 03:55:08
问题 I'm trying to run some Tensorflow code, and I get what seems to be a common problem: $ LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64 python -c "import tensorflow; tensorflow.Session()" 2019-02-06 20:36:15.903204: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-02-06 20:36:15.908809: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable

Installing Ruby 2.3.x on Ubuntu 18.04 is causing an error by the end of the installation process

岁酱吖の 提交于 2020-12-28 13:11:41
问题 I recently updated my system to Ubuntu 18.04 LTS, and since then, the Ruby version seems to have updated to 2.5. The issue is that, when attempting to deploy a project that uses Capistrano, it will now complain that Ruby 2.3 was not found. The version it tries to install when running rvm install 2.3 is 2.3.4, and the first error that is shown is " Error running '__rvm_make -j4' ". I tried removing RVM and installing again, but nothing solves this. The log is an enormous file which tells me

How to fix “mbind: Operation not permitted” in mysql error log

邮差的信 提交于 2020-12-24 06:39:26
问题 I have a problem with my MySQL error log which currently mostly consists of "mbind: Operation not permitted" lines (see below). Why does it happen and how do I fix it? It's the "mostly" part that bothers me. As you can see below, not all lines are "mbind: Operation not permitted". I suspect that MySQL query errors should be instead of that line, but for some reason they can't be written into the file. MySQL itself is a Docker container where log files are volumed via: volumes: - ./mysql/log:

Spyder 2 in Ubuntu 18.04

馋奶兔 提交于 2020-12-13 03:20:20
问题 How can I install spyder 2 in Ubuntu 18.04? When I type this in the terminal: sudo apt-get install spyder it installs spyder 3. 回答1: Assuming you want spyder2 for Python 2.7: You need to install spyder for the Python version you want: python -m pip install spyder Then you just need to run it for that version. So: python -m spyder 回答2: You can use pip to install it like follows sudo pip install -Iv spyder==2.3.9 -I : reinstall (Ignore installed). v : verbose. https://pypi.org/project/spyder/

How to upgrade postgresql database from 10 to 12 without losing data for openproject

一笑奈何 提交于 2020-12-05 05:48:21
问题 My OpenProject management software is installed with default postgresql 10. Currently the postgresql DB is 12, It is having lot of new features. I want to upgrade my Postgres DB without losing the data in the DB. My system is ubuntu 18.04 and hosted openproject. I searched the internet and could not find a step by step to upgrade postgresql. Can you please guide me to install new DB and all data should be in the new DB. thanks for your help. 回答1: A) First create a backup of all the databases

How to upgrade postgresql database from 10 to 12 without losing data for openproject

最后都变了- 提交于 2020-12-05 05:44:05
问题 My OpenProject management software is installed with default postgresql 10. Currently the postgresql DB is 12, It is having lot of new features. I want to upgrade my Postgres DB without losing the data in the DB. My system is ubuntu 18.04 and hosted openproject. I searched the internet and could not find a step by step to upgrade postgresql. Can you please guide me to install new DB and all data should be in the new DB. thanks for your help. 回答1: A) First create a backup of all the databases