在Mac上使用Conda安装Spacy

时间:2019-07-07 10:08:18

标签: nlp anaconda conda spacy

我正在尝试使用Conda通过以下代码将Spacy下载到我的Jupyter Notebook:

conda install -c conda-forge spacy

但是它给出了我不理解的错误:

  

警告conda.base.context:use_only_tar_bz2(632):Conda是   限于仅使用旧的.tar.bz2文件格式,因为您   安装了conda-build,它是<3.18.3。更新或删除   conda-build可获得较小的下载量和更快的提取速度。

     

收集包元数据(repodata.json):完成

     

解决环境:失败

     

UnsatisfiableError:发现以下规格彼此不兼容:

     
      
  • anaconda == 2019.03 = py37_0-> anaconda-client == 1.7.2 = py37_0-> nbformat-> jsonschema [version ='> = 2.4,!= 2.5.0']

    < / li>   
  • anaconda == 2019.03 = py37_0-> importlib_metadata == 0.8 = py37_0

  •   
  • jsonschema-pkgs / main / osx-64 :: _ ipyw_jlab_nb_ext_conf == 0.1.0 = py37_0-> ipywidgets   -> nbformat [version ='> = 4.2.0']-> jsonschema [version ='> = 2.4,!= 2.5.0']-pkgs / main / osx-64 :: anaconda-client == 1.7.2 = py37_0-> nbformat-> jsonschema [version ='> = 2.4,!= 2.5.0']

         
        
    • pkgs / main / osx-64 :: anaconda-navigator == 1.9.7 = py37_0-> anaconda-client [version ='> = 1.6.14']-> nbformat [version ='> = 4.4.0']->   jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: importlib_metadata == 0.8 = py37_0-pkgs / main / osx-64 :: ipywidgets == 7.4.2 = py37_0->   nbformat [version ='> = 4.2.0']-> jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: jupyter == 1.0.0 = py37_7-> ipywidgets-> nbformat [version ='> = 4.2.0']-> jsonschema [version ='> = 2.4 ,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: jupyterlab == 0.35.4 = py37hf63ae98_0-> jupyterlab_server [version ='> = 0.2.0,<0.3.0']->笔记本-> nbconvert   -> nbformat [version ='> = 4.4']-> jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: jupyterlab_server == 0.2.0 = py37_0->笔记本-> nbconvert-> nbformat [version ='> = 4.4']->   jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: nbconvert == 5.4.1 = py37_3-> nbformat [version ='> = 4.4']-> jsonschema [version ='> = 2.4,!= 2.5。 0']

    •   
    • pkgs / main / osx-64 :: nbformat == 4.4.0 = py37_0-> jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
    • pkgs / main / osx-64 :: notebook == 5.7.8 = py37_0-> nbconvert-> nbformat [version ='> = 4.4']-> jsonschema [version ='> = 2.4 ,! = 2.5.0']

    •   
    • pkgs / main / osx-64 :: path.py == 11.5.0 = py37_0-> importlib_metadata [version ='> = 0.5']

    •   
    • pkgs / main / osx-64 :: spyder == 3.3.3 = py37_0-> nbconvert-> nbformat [version ='> = 4.4']-> jsonschema [version ='> = 2.4 ,! = 2.5.0']

    •   
    • pkgs / main / osx-64 :: widgetsnbextension == 3.4.2 = py37_0->笔记本[version ='> = 4.4.1']-> nbconvert-> nbformat [version ='> = 4.4 ']   -> jsonschema [version ='> = 2.4,!= 2.5.0']

    •   
  •   

任何想法如何解决?

1 个答案:

答案 0 :(得分:0)

您可以通过安装Conda-build来解决此警告:

conda install conda-build

但是我在笔记本上安装opencv时遇到了同样的问题,到目前为止我还不知道如何解决它:(