首页 > 系统相关 >Your shell has not been properly configured to use 'conda activate'.

Your shell has not been properly configured to use 'conda activate'.

时间:2023-11-02 11:01:32浏览次数:27  
标签:use shell anaconda3 configured conda home change software

 # ./conda activate py38

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
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

 

# conda init
no change     /home/software/anaconda3/condabin/conda
no change     /home/software/anaconda3/bin/conda
no change     /home/software/anaconda3/bin/conda-env
no change     /home/software/anaconda3/bin/activate
no change     /home/software/anaconda3/bin/deactivate
no change     /home/software/anaconda3/etc/profile.d/conda.sh
no change     /home/software/anaconda3/etc/fish/conf.d/conda.fish
no change     /home/software/anaconda3/shell/condabin/Conda.psm1
no change     /home/software/anaconda3/shell/condabin/conda-hook.ps1
no change     /home/software/anaconda3/lib/python3.8/site-packages/xontrib/conda.xsh
no change     /home/software/anaconda3/etc/profile.d/conda.csh
no change     /root/.bashrc
No action taken.

 

解决办法

# 激活环境
source activate
# 退出环境
source deactivate

conda activate py38



标签:use,shell,anaconda3,configured,conda,home,change,software
From: https://blog.51cto.com/emanlee/8142636

相关文章

  • FinalShell更换背景风格
    finalshell右上角多功能->选项->配色其中配色可以更改文字颜色;字体可以修改文字风格大小;背景图片可以更改为本地照片;(需要money支持)......
  • 如何让虚拟机配置网络以及Xshell软件如何连接你的虚拟机
    给虚拟机配置网络总共有三种方法:桥接模式、nat模式和更改虚拟机ip地址首先我们来介绍桥接模式桥接模式是指虚拟机直接与物理网卡相连接。虚拟机之间直接可通信,虚拟机与windows之间也可通信。每一个ip地址都是真实的,虚拟机可以上网。缺点是占用ip资源。主机可以和虚拟机通信,虚拟......
  • shell编程
    H3目标:1.shell是什么2.shell脚本是什么3.理解为什么学习shell脚本4.shell解析器linux系统使用内核操作计算机硬件,通过编写shell命令发送给linux内核去执行,操作计算机硬件,shell是用户操作计算机硬件的桥梁,shell是指令shell是一门设计语言H5shell脚本就是通过shell命......
  • network提示use --host to expose
    项目运行之后,想要通过局域网ip访问项目,无法访问:查了一下问题,没有配置netWork,在vite.config.ts如下配置,就可以了server:{host:'0.0.0.0'} 有问题欢迎交流!!! ......
  • Shell-变量的算术运算
    一、算术运算符1、+、-求和、a+b  a-b   2、*、/、%求乘积,商,余数   a*b  a/b   a/b 3、**幂运算,例如3**3是求3的立方,即27 4、+=、-=、*=、/=、%=例a+=1相当于a=a+1 5、++variable、--variable 先将变量variable的值加1,然后再赋......
  • Metasploit使用教程-(反弹shell)
    Metasploit反弹shell 利用msfvenom生成一个反弹shell程序 msfvenom-lpayloads可以查看所有payloadWindows通用反向shell:windows/meterpreter/reverse  --基于TCP的反向链接反弹shell,使用起来很稳定。windows/meterpreter/reverse_http  --基于http方式的反......
  • [macos]magicmouse 配合 bettertouchtool实现触摸功能
       1.将所有的tap设置为左键点击2.2fingertap设置为右键点击3.3fingertap设置为lookupword4.2fingerswipeup和swipedown都设置为missioncontrol      其他优化: 将option+command+C设置为双击选中并复制       trackpad优化:  ......
  • 确定已安装的PowerShell版本
    内容来自DOChttps://q.houxu6.top/?s=确定已安装的PowerShell版本我如何确定计算机上安装了哪种版本的PowerShell,以及是否确实安装了它?使用$PSVersionTable.PSVersion来确定引擎版本。如果该变量不存在,可以安全地假设引擎版本为1.0。请注意,$Host.Version和(Get-Host).Vers......
  • SIP UserAgent (B2BUA client)——pjsip
    1.sipstackspjsip/bell-sip/sofia-sip/libeXosip/librehttps://github.com/staskobzar/sip_stacks_examples 2.sipuseragentandservernetworkarchitecture3. InstallingpjsiponUbuntuhttps://www.pjsip.orgsudoapt-getinstalllibasound2-devLinuxsys......
  • 基于腾讯云lighthouse搭建Hexo管理器-Qexo
    原文地址:https://blog.iloli.love/archives/33773f16/本文图例使用腾讯云lighthouse搭建(其他服务器也没问题)在阅读本文之前,你需要做的事:已经在服务器/本地部署好hexo及其相关依赖,还有python3.x及对应版本的pip以及git/curl等命令本文应用场景为通过本地部署的Q......