• Anaconda 使用




    Mac Anaconda 第三方包地址:
    ~/opt/anaconda3/lib/python3.7/site-packages


    Softwrap 换行

    一行内容显示比较多时,希望能换行显示,而非拖动滑动条,修改配置文件:

    ~/opt/anaconda3/etc/jupyter/nbconfig/notebook.json

    添加内容:

    {
      "MarkdownCell": {
        "cm_config": {
          "lineWrapping": true
        }
      },
      "CodeCell": {
        "cm_config": {
          "lineWrapping": true
        }
      }
    }
    

    然后重新开启页面。


    命令

    Anaconda Command Reference
    https://docs.conda.io/projects/conda/en/latest/commands.html

    
    ***
    常用
    $ conda -h  # 查询conda的命令使用
    
    $ conda --version   # 查询conda版本
    
    $ conda config --show   # 显示conda的配置信息;channel, 对应的就是我们的镜像配置
    
    $ conda config --set show_channel_urls yes   # 设置搜索时显示通道地址
    
    $ conda list  # 查看安装了哪些包。
     
    $ conda env list 或 conda info -e   #查看当前存在哪些虚拟环境
    
    $ conda update conda  # 检查更新当前conda
    
    

    (base) $ conda -h
    usage: conda [-h] [-V] command ...
    
    conda is a tool for managing and deploying applications, environments and packages.
    
    Options:
    
    positional arguments:
      command
        clean        Remove unused packages and caches.
        config       Modify configuration values in .condarc. This is modeled
                     after the git config command. Writes to the user .condarc
                     file (/Users/user/.condarc) by default.
        create       Create a new conda environment from a list of specified
                     packages.
        help         Displays a list of available conda commands and their help
                     strings.
        info         Display information about current conda install.
        init         Initialize conda for shell interaction. [Experimental]
        install      Installs a list of packages into a specified conda
                     environment.
        list         List linked packages in a conda environment.
        package      Low-level conda package utility. (EXPERIMENTAL)
        remove       Remove a list of packages from a specified conda environment.
        uninstall    Alias for conda remove.
        run          Run an executable in a conda environment. [Experimental]
        search       Search for packages and display associated information. The
                     input is a MatchSpec, a query language for conda packages.
                     See examples below.
        update       Updates conda packages to the latest compatible version.
        upgrade      Alias for conda update.
    
    optional arguments:
      -h, --help     Show this help message and exit.
      -V, --version  Show the conda version number and exit.
    
    conda commands available from other packages:
      build
      convert
      debug
      develop
      env
      index
      inspect
      metapackage
      render
      server
      skeleton
      verify
    


  • 相关阅读:
    css3 让一个图片翻转示例代码
    万能清除法
    str_replace 字符串匹配替换 explode 拆分字符串成数组 implode 数组 为字符串 list($month, $day, $year) = split ('[/.-]', $date);
    历年沪深A股、香港H股票数据导入和实时数据更新展示 ---转载
    CSS3生成音频波纹效果加载中动画
    jQuery中Ajax快捷方法之$.getScript()
    jQuery中Ajax快捷方法之$.get()
    ajax 关于IP地址查询的API
    php 拒绝用户输入非法字符
    PHP 字符串函数是 PHP 核心的组成部分。
  • 原文地址:https://www.cnblogs.com/fldev/p/14372894.html
Copyright © 2020-2023  润新知