Debug ubuntu

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"

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值