gcc: error trying to exec 'cc1plus' : execvp: No such file or directory
solve: https://askubuntu.com/questions/637014/gcc-error-trying-to-exec-cc1plus-execvp-no-such-file-or-directory
sudo apt-get install g++
ImportError: libsodium.so.23: cannot open shared object file: No such file or directory (conda打开jupyter时)
conda install -c conda-forge libsodium
unable to execute ':/usr/local/cuda/bin/nvcc': No such file or directory
error: command ':/usr/local/cuda/bin/nvcc' failed with exit status 1
(安装maskrcnn-benchmark)
# ~/.bashrc
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda
# 将上面的语句修改成:
export CUDA_HOME=/usr/local/cuda
#
source ~/.bashrc
sogou输入法打不出汉字
cd ~/.config
rm -rf Sogou* sogou*
fcitx restart # 或重启电脑,或切换输入法
Pytorch
RuntimeError: Subtraction, the `-` operator, with a bool tensor is not supported.
If you are trying to invert a mask, use the `~` or `bitwise_not()` operator instead.
https://github.com/OpenNMT/OpenNMT-py/issues/1524
nvcc fatal : Unsupported gpu architecture 'compute_75'
export TORCH_CUDA_ARCH_LIST="7.0"