安装ribodetector时遇到的问题及解决方法
本文最后更新于 468 天前,其中的信息可能已经有所发展或是发生改变。

首先使用  以下代码安装,报错(报错1)

conda create -n ribodetector python=3.8

查验后怀疑为python版本有误,服务器安装的是Python3.9版本,此处使用的是Python3.8

(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ python -V
Python 3.9.7

==========================================================================

然后使用正确的Python版本,但是报错是同样的

conda create -n ribodetector python=3.9

使用conda安装不上,于是想使用pip安装 (报错2)

 pip install ribodetector

安装成功后,发现提示没有torch模块

(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ ribodetector
Traceback (most recent call last):
  File "/home/lyu/anaconda3/bin/ribodetector", line 5, in <module>
    from ribodetector.detect import main
  File "/home/lyu/anaconda3/lib/python3.9/site-packages/ribodetector/detect.py", line 14, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'
(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$  ribodetec -h
ribodetec:未找到命令
(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ ribodetector -h
Traceback (most recent call last):
  File "/home/lyu/anaconda3/bin/ribodetector", line 5, in <module>
    from ribodetector.detect import main
  File "/home/lyu/anaconda3/lib/python3.9/site-packages/ribodetector/detect.py", line 14, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'

image-20220920095547714

于是想用conda安装pytorch 但是发现仍旧报错(报错3)

 conda install pytorch

最后使用 以下命令可以成功呼出,因此应该是服务器没有GPU导致的报错3问题

ribodetector_cpu -h 

最后 使用cpu的操作系统需要额外安装包

根据说明书安装一些包

pip install tqdm numpy pandas biopython
#如果是在CPU中运行,需要多安装一个包
pip install onnxruntime

================================附表==============================

报错1:

(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ conda create -n ribodetector python=3.8
Collecting package metadata (current_repodata.json): |                                                                         fa                                                                                                                        iled

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 704, in fetch_repodata_remote_reques                                                                                                                        t
        resp.raise_for_status()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/n                                                                                                                        oarch/current_repodata.json

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1114, in __call__
        return func(*args, **kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/conda_argparse.py", line 90, in do_call
        return getattr(module, func_name)(args, parser)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/main_create.py", line 41, in execute
        install(args, parser, 'create')
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/install.py", line 259, in install
        unlink_link_transaction = solver.solve_for_transaction(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
        unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 195, in solve_for_diff
        final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 300, in solve_final_state
        ssc = self._collect_all_metadata(ssc)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/common/io.py", line 86, in decorated
        return f(*args, **kwds)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 463, in _collect_all_metadata
        index, r = self._prepare(prepared_specs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 1058, in _prepare
        reduced_index = get_reduced_index(self.prefix, self.channels,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/index.py", line 287, in get_reduced_index
        new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 139, in query_all
        result = tuple(concat(executor.map(subdir_query, channel_urls)))
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 608, in result_iterator
        yield fs.pop().result()
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 438, in result
        return self.__get_result()
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
        raise self._exception
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/thread.py", line 52, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 131, in <lambda>
        subdir_query = lambda url: tuple(SubdirData(Channel(url), repodata_fn=repodata_fn).query(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 144, in query
        self.load()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 209, in load
        _internal_state = self._load()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 374, in _load
        raw_repodata_str = fetch_repodata_remote_request(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 735, in fetch_repodata_remote_reques                                                                                                                        t
        raise UnavailableInvalidChannel(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 460, in __init__
        body = response.json()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/requests/models.py", line 910, in json
        return complexjson.loads(self.text, **kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/__init__.py", line 525, in loads
        return _default_decoder.decode(s)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 370, in decode
        obj, end = self.raw_decode(s)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 400, in raw_decode
        return self.scan_once(s, idx=_w(s, idx).end())
    simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

`$ /home/lyu/anaconda3/bin/conda create -n ribodetector python=3.8`

  environment variables:
                 CIO_TEST=<not set>
        CMAKE_PREFIX_PATH=/home/lyu/anaconda3:/home/lyu/anaconda3/x86_64-conda-linux-
                          gnu/sysroot/usr
      CONDA_BUILD_SYSROOT=/home/lyu/anaconda3/x86_64-conda-linux-gnu/sysroot
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=/home/lyu/anaconda3/bin/conda
             CONDA_PREFIX=/home/lyu/anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=/home/lyu/anaconda3/bin/python
               CONDA_ROOT=/home/lyu/anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
     JAVA_LD_LIBRARY_PATH=/home/lyu/anaconda3/lib/server
                     PATH=/home/lyu/anaconda3/bin:/media/lyu/vol1/workspace/FML/ripe/paper/peel/
                          try/biosoft/myBin/bin:/home/lyu/anaconda3/bin:/home/lyu/anaconda3/cond
                          abin:/home/lyu/software/MEGAN_Community_unix_6_23_4/megan/tools:/home/
                          lyu/software:/home/lyu/software/SRAToolkit/sratoolkit.3.0.0-centos_lin
                          ux64/bin:/home/lyu/software/ngsplotdb/bin:/home/lyu/software/ngsplot/b
                          in:/home/lyu/software/FitHic/fithic-2.0.8/fithic/utils:/home/lyu/softw
                          are/FitHic/fithic-2.0.8/fithic:/home/lyu/software/ABC-Enhancer-Gene-
                          Prediction-0.2.2/src:/home/lyu/software/HiC-Pro-3.1.0/bin:/home/lyu/so
                          ftware/MACS2-2.2.7.1/bin:/home/lyu/software/homer/bin:/home/lyu/softwa
                          re/picard:/home/lyu/software/juicer_tools:/home/lyu/software/ChromHMM:
                          /home/lyu/software/UCSC:/home/lyu/software/TrimGalore-0.6.7:/home/lyu/
                          software/samtools-1.14:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b
                          in:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : /home/lyu/anaconda3
            shell level : 1
       user config file : /home/lyu/.condarc
 populated config files : /home/lyu/.condarc
          conda version : 4.13.0
    conda-build version : 3.21.5
         python version : 3.9.7.final.0
       virtual packages : __linux=5.15.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/lyu/anaconda3  (writable)
      conda av data dir : /home/lyu/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
          package cache : /home/lyu/anaconda3/pkgs
                          /home/lyu/.conda/pkgs
       envs directories : /home/lyu/anaconda3/envs
                          /home/lyu/.conda/envs
               platform : linux-64
             user-agent : conda/4.13.0 requests/2.26.0 CPython/3.9.7 Linux/5.15.0-43-generic ubuntu/20.04.3 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?

[y/N]:
No report sent. To permanently opt-out, use

    $ conda config --set report_errors false

报错2

(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ pip install ribodetector
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting ribodetector
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e2/2f/84bc6ebf6354091eaa50b787cc869e2e7a2b87aecfeb08421a3d3ae84973/ribod                                                                                             etector-0.2.7-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 2.4 MB/s eta 0:00:00
Collecting onnxruntime>=1.10.0
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e2/d8/414222442d1544630cd2fbc36f2ab268ec8e4cc0ef309f0f77aab2b716ad/onnxr                                                                                             untime-1.12.1-cp39-cp39-manylinux_2_27_x86_64.whl (4.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 4.3 MB/s eta 0:00:00
Requirement already satisfied: pandas in /home/lyu/anaconda3/lib/python3.9/site-packages (from ribodetector) (1.3.4)
Requirement already satisfied: numpy in /home/lyu/anaconda3/lib/python3.9/site-packages (from ribodetector) (1.20.3)
Requirement already satisfied: tqdm in /home/lyu/anaconda3/lib/python3.9/site-packages (from ribodetector) (4.62.3)
Requirement already satisfied: biopython in /home/lyu/anaconda3/lib/python3.9/site-packages (from ribodetector) (1.79)
Requirement already satisfied: protobuf in /home/lyu/anaconda3/lib/python3.9/site-packages (from onnxruntime>=1.10.0->ribodetecto                                                                                             r) (3.19.4)
Requirement already satisfied: sympy in /home/lyu/anaconda3/lib/python3.9/site-packages (from onnxruntime>=1.10.0->ribodetector)                                                                                              (1.9)
Collecting coloredlogs
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a7/06/3d6badcf13db419e25b07041d9c7b4a2c331d3f4e7134445ec5df57714cd/color                                                                                             edlogs-15.0.1-py2.py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 629.2 kB/s eta 0:00:00
Collecting flatbuffers
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d7/0d/b5bfb553a6ac66d6ec2b6d7f1e814a908fba7188356ac94bb36ae3d905c3/flatb                                                                                             uffers-2.0.7-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: packaging in /home/lyu/anaconda3/lib/python3.9/site-packages (from onnxruntime>=1.10.0->ribodetect                                                                                             or) (21.0)
Collecting numpy
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/fe/8c/1dfc141202fb2b6b75f9ca4a6681eb5cb7f328d6d2d9d186e5675c468e6a/numpy                                                                                             -1.23.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 2.8 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.7.3 in /home/lyu/anaconda3/lib/python3.9/site-packages (from pandas->ribodetect                                                                                             or) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /home/lyu/anaconda3/lib/python3.9/site-packages (from pandas->ribodetector) (2021.                                                                                             3)
Requirement already satisfied: six>=1.5 in /home/lyu/anaconda3/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas->                                                                                             ribodetector) (1.16.0)
Collecting humanfriendly>=9.1
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/human                                                                                             friendly-10.0-py2.py3-none-any.whl (86 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 113.9 kB/s eta 0:00:00
Requirement already satisfied: pyparsing>=2.0.2 in /home/lyu/anaconda3/lib/python3.9/site-packages (from packaging->onnxruntime>=                                                                                             1.10.0->ribodetector) (3.0.4)
Requirement already satisfied: mpmath>=0.19 in /home/lyu/anaconda3/lib/python3.9/site-packages (from sympy->onnxruntime>=1.10.0->                                                                                             ribodetector) (1.2.1)
Installing collected packages: flatbuffers, numpy, humanfriendly, coloredlogs, onnxruntime, ribodetector
  Attempting uninstall: numpy
    Found existing installation: numpy 1.20.3
    Uninstalling numpy-1.20.3:
      Successfully uninstalled numpy-1.20.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the                                                                                              source of the following dependency conflicts.
daal4py 2021.3.0 requires daal==2021.2.3, which is not installed.
scipy 1.7.1 requires numpy<1.23.0,>=1.16.5, but you have numpy 1.23.3 which is incompatible.
numba 0.54.1 requires numpy<1.21,>=1.17, but you have numpy 1.23.3 which is incompatible.
pydnase 0.3.0 requires matplotlib<2.0.0, but you have matplotlib 3.5.1 which is incompatible.
Successfully installed coloredlogs-15.0.1 flatbuffers-2.0.7 humanfriendly-10.0 numpy-1.23.3 onnxruntime-1.12.1 ribodetector-0.2.7
(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ ribodetector -h
Traceback (most recent call last):
  File "/home/lyu/anaconda3/bin/ribodetector", line 5, in <module>
    from ribodetector.detect import main
  File "/home/lyu/anaconda3/lib/python3.9/site-packages/ribodetector/detect.py", line 14, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'
(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ ribodetector
Traceback (most recent call last):
  File "/home/lyu/anaconda3/bin/ribodetector", line 5, in <module>
    from ribodetector.detect import main
  File "/home/lyu/anaconda3/lib/python3.9/site-packages/ribodetector/detect.py", line 14, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'

报错3

(base) lyu@lyu-lab:/media/qwe/vol1/workspace/yyj/zfk/ribodetector$ conda install pytorch
Collecting package metadata (current_repodata.json): failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 704, in fetch_repodata_remote_reques                                                                                                                      t
        resp.raise_for_status()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/n                                                                                                                      oarch/current_repodata.json

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1114, in __call__
        return func(*args, **kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/conda_argparse.py", line 90, in do_call
        return getattr(module, func_name)(args, parser)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/main_install.py", line 20, in execute
        install(args, parser, 'install')
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/cli/install.py", line 259, in install
        unlink_link_transaction = solver.solve_for_transaction(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
        unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 195, in solve_for_diff
        final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 300, in solve_final_state
        ssc = self._collect_all_metadata(ssc)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/common/io.py", line 86, in decorated
        return f(*args, **kwds)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 463, in _collect_all_metadata
        index, r = self._prepare(prepared_specs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/solve.py", line 1058, in _prepare
        reduced_index = get_reduced_index(self.prefix, self.channels,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/index.py", line 287, in get_reduced_index
        new_records = SubdirData.query_all(spec, channels=channels, subdirs=subdirs,
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 139, in query_all
        result = tuple(concat(executor.map(subdir_query, channel_urls)))
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 608, in result_iterator
        yield fs.pop().result()
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 438, in result
        return self.__get_result()
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
        raise self._exception
      File "/home/lyu/anaconda3/lib/python3.9/concurrent/futures/thread.py", line 52, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 131, in <lambda>
        subdir_query = lambda url: tuple(SubdirData(Channel(url), repodata_fn=repodata_fn).query(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 144, in query
        self.load()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 209, in load
        _internal_state = self._load()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 374, in _load
        raw_repodata_str = fetch_repodata_remote_request(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/core/subdir_data.py", line 735, in fetch_repodata_remote_reques                                                                                                                      t
        raise UnavailableInvalidChannel(
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/conda/exceptions.py", line 460, in __init__
        body = response.json()
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/requests/models.py", line 910, in json
        return complexjson.loads(self.text, **kwargs)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/__init__.py", line 525, in loads
        return _default_decoder.decode(s)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 370, in decode
        obj, end = self.raw_decode(s)
      File "/home/lyu/anaconda3/lib/python3.9/site-packages/simplejson/decoder.py", line 400, in raw_decode
        return self.scan_once(s, idx=_w(s, idx).end())
    simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

`$ /home/lyu/anaconda3/bin/conda install pytorch`

  environment variables:
                 CIO_TEST=<not set>
        CMAKE_PREFIX_PATH=/home/lyu/anaconda3:/home/lyu/anaconda3/x86_64-conda-linux-
                          gnu/sysroot/usr
      CONDA_BUILD_SYSROOT=/home/lyu/anaconda3/x86_64-conda-linux-gnu/sysroot
        CONDA_DEFAULT_ENV=base
                CONDA_EXE=/home/lyu/anaconda3/bin/conda
             CONDA_PREFIX=/home/lyu/anaconda3
    CONDA_PROMPT_MODIFIER=(base)
         CONDA_PYTHON_EXE=/home/lyu/anaconda3/bin/python
               CONDA_ROOT=/home/lyu/anaconda3
              CONDA_SHLVL=1
           CURL_CA_BUNDLE=<not set>
     JAVA_LD_LIBRARY_PATH=/home/lyu/anaconda3/lib/server
                     PATH=/home/lyu/anaconda3/bin:/media/lyu/vol1/workspace/FML/ripe/paper/peel/
                          try/biosoft/myBin/bin:/home/lyu/anaconda3/bin:/home/lyu/anaconda3/cond
                          abin:/home/lyu/software/MEGAN_Community_unix_6_23_4/megan/tools:/home/
                          lyu/software:/home/lyu/software/SRAToolkit/sratoolkit.3.0.0-centos_lin
                          ux64/bin:/home/lyu/software/ngsplotdb/bin:/home/lyu/software/ngsplot/b
                          in:/home/lyu/software/FitHic/fithic-2.0.8/fithic/utils:/home/lyu/softw
                          are/FitHic/fithic-2.0.8/fithic:/home/lyu/software/ABC-Enhancer-Gene-
                          Prediction-0.2.2/src:/home/lyu/software/HiC-Pro-3.1.0/bin:/home/lyu/so
                          ftware/MACS2-2.2.7.1/bin:/home/lyu/software/homer/bin:/home/lyu/softwa
                          re/picard:/home/lyu/software/juicer_tools:/home/lyu/software/ChromHMM:
                          /home/lyu/software/UCSC:/home/lyu/software/TrimGalore-0.6.7:/home/lyu/
                          software/samtools-1.14:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b
                          in:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : base
    active env location : /home/lyu/anaconda3
            shell level : 1
       user config file : /home/lyu/.condarc
 populated config files : /home/lyu/.condarc
          conda version : 4.13.0
    conda-build version : 3.21.5
         python version : 3.9.7.final.0
       virtual packages : __linux=5.15.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/lyu/anaconda3  (writable)
      conda av data dir : /home/lyu/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
          package cache : /home/lyu/anaconda3/pkgs
                          /home/lyu/.conda/pkgs
       envs directories : /home/lyu/anaconda3/envs
                          /home/lyu/.conda/envs
               platform : linux-64
             user-agent : conda/4.13.0 requests/2.26.0 CPython/3.9.7 Linux/5.15.0-43-generic ubuntu/20.04.3 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?

[y/N]: y
Upload successful.

Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running

    $ conda config --set report_errors true
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇