zoukankan      html  css  js  c++  java
  • Fish 下报错 Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'.

    在用fish激活virualenv虚拟环境时,使用命令: source ./venv/bin/activate 报错

    ./venv/bin/activate (line 23): Unsupported use of '||'. In fish, please use 'COMMAND; or COMMAND'.

        if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then

                              ^

    from sourcing file ./venv/bin/activate

    called on standard input

     

    source: Error while reading file './venv/bin/activate'

     

    解决方法:

    https://github.com/pypa/virtualenv/issues/886

    替换activate为activate.fish

     

  • 相关阅读:
    无约束梯度算法
    resp协议
    union和union all
    cgi和fastcgi
    证书认证原理
    HTTPS的实现原理
    redis消息队列优缺点有哪些?redis消息队列的优缺点
    cname是个什么东西
    CDN
    PHP 删除数组中的元素
  • 原文地址:https://www.cnblogs.com/lecoz/p/10049724.html
Copyright © 2011-2022 走看看