linux
相信光的奥特王小懒
为未来而奋斗,为美好生活而拼搏。
展开
-
E: Unable to correct problems, you have held broken packages.
这个问题原来是因为镜像的问题,我们更换镜像源即可vi /etc/apt/sources.list#添加阿里源deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.aliyun.c原创 2022-04-23 18:15:38 · 964 阅读 · 0 评论 -
linux的相关操作
在linux系统安装jupyterpip install jupyter在jupyter笔记本打开文件以后要是想使用幻灯片模式安装rise插件pip install riseCollecting rise Downloading rise-5.7.1-py2.py3-none-any.whl (4.3 MB) |████████████████████████████████| 4.3 MB 446 kB/s Requirement already satisfied: note原创 2021-10-27 17:03:26 · 166 阅读 · 0 评论 -
linux里的文件夹上有个锁头的图标怎么解决
有锁表示普通用户不能操作该文件夹。**解决方案如下:打开文件所在目录输入如下命令即可解决带锁问题**sudo chmod -R 777 cacc(cacc为文件名称)原创 2021-10-25 10:06:38 · 7501 阅读 · 0 评论 -
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.To initialize your shell, run $ conda init <SHELL_NAME>Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershellSee原创 2021-10-16 12:48:16 · 360 阅读 · 0 评论 -
linux相关操作
1. 查找文件位置whereis pycharm2. 压缩包的安装tar -xvzf 压缩包的名称3. pycharm的启动1.cd 到解压完成的文件夹里面2.找到 .sh启动文件3. sh .sh的文件即可启动程序4. 添加软件图标到桌面1.创建pycharm.desktop文件到/usr/share/applications/目录下 touch /usr/share/applications/pycharm.desktop2. 执行命令:sudo v原创 2021-10-13 10:57:07 · 96 阅读 · 0 评论 -
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/linux-64/pyto
vi ~/.condarc #对于root用户channels: - defaultsshow_channel_urls: truedefault_channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - http://mirrors.tuna.tsinghua.edu.cn/a原创 2021-10-12 14:59:12 · 624 阅读 · 0 评论 -
在linux下安装anaconda
首先在anaconda官网下载linux环境下的python安装anaconda,cd 文件所在目录并执行如下命令:bash Anaconda3-2021.05-Linux-x86_64.sh在安装过程中一直选择默认即可。装完之后,运行python,此时仍是ubuntu自带的python信息,因此要使用anaconda,则需自己设置环境变量,修改profile文件输入命令:sudo gedit /etc/profile,打开profile文件。在文件末尾添加一行:export .原创 2021-10-12 12:45:11 · 179 阅读 · 0 评论 -
E: 无法下载 https://deepin-wine.i-m.dev/Packages Certificate verification faile
常见的问题:在Ubuntu上装软件的时候出现的问题:E: 无法定位软件包 com.qq.weixin.deepin E: 无法按照 glob ‘com.qq.weixin.deepin’ 找到任何软件包 E: 无法按照正则表达式 com.qq.weix学习网站:https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu#https://gitee.com/wszqkzqk/deepin-wine-containers-for-ubuntu/raw/mas原创 2021-10-12 11:40:04 · 1877 阅读 · 0 评论 -
Press ENTER or type command to continue
原因是.vimrc里面设置的指令出现了错误解决方法如下:1.以root身份登录后执行如下指令2.使用vi编辑器打开.vimrc文件3.set nu4.esc退出编辑器原创 2021-10-12 10:47:38 · 2000 阅读 · 0 评论 -
linux系统中怎么安装deb为后缀的包
1.我们先下载自己所需要的deb格式的包并且记住文件所在的位置打开linux终端然后进入管理员权限cd 文件所在位置目录可以ls来清晰的看到该目录下的文件接下来开始安装安装包,我们使用dpkg -i +文件名接下来提示输入密码开始安装...原创 2021-10-11 15:37:56 · 1505 阅读 · 0 评论