-
/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 443, in _error_catcher yield File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 818, in read_chunked chunk = self._handle_chunk(amt) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 762, in _handle_chunk value = self._fp._safe_read(amt) File "/home/ma-user/anaconda3/lib/python3.7/http/client.py", line 622, in _safe_read raise IncompleteRead(b''.join(s), amt) http.client.IncompleteRead: IncompleteRead(4223 bytes read, 6017 more expected) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 750, in generate for chunk in self.raw.stream(chunk_size, decode_content=True): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 623, in stream for line in self.read_chunked(amt, decode_content=decode_content): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 844, in read_chunked self._original_response.close() File "/home/ma-user/anaconda3/lib/python3.7/contextlib.py", line 130, in __exit__ self.gen.throw(type, value, traceback) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 460, in _error_catcher raise ProtocolError("Connection broken: %r" % e, e) urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(4223 bytes read, 6017 more expected)', IncompleteRead(4223 bytes read, 6017 more expected)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__ return func(*args, **kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/main.py", line 84, in _main exit_code = do_call(args, p) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/conda_argparse.py", line 82, in do_call return getattr(module, func_name)(args, parser) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/main_create.py", line 37, in execute install(args, parser, 'create') File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/install.py", line 265, in install should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]), File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction should_retry_solve) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff force_remove, should_retry_solve) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 262, in solve_final_state ssc = self._collect_all_metadata(ssc) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated return f(*args, **kwds) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 415, in _collect_all_metadata index, r = self._prepare(prepared_specs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 1011, in _prepare self.subdirs, prepared_specs, self._repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/index.py", line 228, in get_reduced_index repodata_fn=repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 105, in query_all result = tuple(concat(executor.map(subdir_query, channel_urls))) File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 598, in result_iterator yield fs.pop().result() File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 435, in result return self.__get_result() File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 98, in <lambda> package_ref_or_match_spec)) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 110, in query self.load() File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 174, in load _internal_state = self._load() File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 248, in _load repodata_fn=self.repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 485, in fetch_repodata_remote_request timeout=timeout) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 686, in send r.content File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 828, in content self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b'' File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 753, in generate raise ChunkedEncodingError(e) requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(4223 bytes read, 6017 more expected)', IncompleteRead(4223 bytes read, 6017 more expected)) `$ /home/ma-user/anaconda3/bin/conda create -n py36 python=3.6.10 -y` environment variables: CIO_TEST=<not set> CONDA_DIR=/modelarts/authoring/notebook-conda CONDA_ROOT=/home/ma-user/anaconda3 FTP_PROXY=<set> HTTPS_PROXY=<set> HTTP_PROXY=<set> LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/nv idia/lib:/usr/local/nvidia/lib64:/usr/lib/x86_64-linux-gnu/ LIBRARY_PATH=/usr/local/cuda/lib64/stubs: MODELARTS_MODEL_PATH=/home/ma-user/infer/model/1 NO_PROXY=<set> PATH=/home/ma-user/anaconda3/envs/TensorFlow-2.1/bin:/home/ma-user/anaconda 3/envs/TensorFlow-2.1/bin:/usr/local/openmpi/bin:/usr/local/nvidia/bin :/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin :/sbin:/bin:/modelarts/authoring/notebook-conda/bin:/home/ma- user/modelarts-dev/ma- cli/bin:/modelarts/authoring/script/entrypoint/deps/ssh/bin:/home/ma- user/anaconda3/envs/TensorFlow-2.1/bin PYTHONPATH=/usr/local/seccomponent/lib:/home/ma-user/infer/model/1 REQUESTS_CA_BUNDLE=<not set> SCC_CONFIG_PATH=/home/ma-user/scc/kmc.conf SITE_PACKAGES_PATH=/home/ma-user/anaconda3/envs/TensorFlow-2.1/lib/python3.7/site- packages SSL_CERT_FILE=<not set> ftp_proxy=<set> http_proxy=<set> https_proxy=<set> no_proxy=<set> active environment : None user config file : /home/ma-user/.condarc populated config files : /home/ma-user/.condarc conda version : 4.8.2 conda-build version : not installed python version : 3.7.6.final.0 virtual packages : __glibc=2.27 base environment : /home/ma-user/anaconda3 (writable) channel URLs : cid:link_0 cid:link_2 cid:link_1 cid:link_3 cid:link_4 cid:link_5 cid:link_6 cid:link_7 package cache : /home/ma-user/anaconda3/pkgs /home/ma-user/.conda/pkgs envs directories : /home/ma-user/anaconda3/envs /home/ma-user/.conda/envs platform : linux-64 user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.18.0-147.5.1.6.h841.eulerosv2r9.x86_64 ubuntu/18.04.6 glibc/2.27 UID:GID : 1000:100 netrc file : None offline mode : False An unexpected error has occurred. Conda has prepared the above report.
-
训练yolov7,device输入参数默认是cpu,在cpu上训练。想改用GPU,device参数改成0,但是notebook运行报了错:请问可怎么解决?
-
命令和报错信息: (python-3.7.10) [ma-user work]$ma-cli image build .ma/customize_from_ubuntu_18.04_to_modelarts/Dockerfile -swr hw03426922/only-conda:0.0.1 [+] Building 0.0s (0/0) error: failed to get status: rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial tcp 127.0.0.1:1234: connect: connection refused" Failed to build image, for details, see /home/ma-user/work/.ma/customize_from_ubuntu_18.04_to_modelarts/build_log.log. [ FAILED ] Build image hw03426922/only-conda:0.0.1 failed! 这是为什么呢?
-
在Notebook里开了一个teminal, 然后打开了vim用Ctrl-F是往下翻页当想用Ctrl-B向上翻页时,发现是切换文件浏览器的隐藏和显示,所以,notebook里如何修改Ctrl-B快捷键的行为?
-
本地Anaconda使用pip install jupyterlab后使用jupyter-lab打开窗口创建Terminal出现错误Launcher Error、Unhandled error、Dismiss解决方案通过查询Anaconda窗口信息发现报错如下:Traceback (most recent call last): File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\tornado\web.py", line 1702, in _execute result = method(*self.path_args, **self.path_kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\tornado\web.py", line 3173, in wrapper return method(self, *args, **kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\jupyter_server\terminal\api_handlers.py", line 26, in post name, _ = self.terminal_manager.new_named_terminal(**data) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\terminado\management.py", line 319, in new_named_terminal term = self.new_terminal(**kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\terminado\management.py", line 171, in new_terminal pty = PtyProcessUnicode.spawn(argv, env=env, cwd=options.get('cwd', None)) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\winpty\ptyprocess.py", line 89, in spawn 'executable: %s.' % command FileNotFoundError: The command was not found or was not executable: powershell.exe.可以发现报错的原因是JupyterLab在创建Ternimal时无法定位到PowerShell。为此,我通过CMD启用PowerShell仍然失败,如下所示:因此怀疑时是环境变量中缺少`PowerShell`路径,因此我找到`PowerShell`路径并添加至环境变量,如下所示完成后在CMD中输入PowerShell即可进入PowerShell模式此时打开Anaconda启动JupyterLab,即可正常启动Terminal,如下所示:总结如果在Win10平台使用JupyterLab无法正常启动Terminal且报错为FileNotFoundError: The command was not found or was not executable: powershell.exe.,只需要在环境变量中添加PowerShell路径
-
如题,notebook好像没有办法自己装驱动,非常感谢
-
小白求助,使用notebook老是碰到以下问题
-
如图如图如图如图如图
-
使用pip install时出现“没有空间”的错误
-
如何在Notebook中安装外部库?
-
在Notebook中,如何访问其他帐号的OBS桶?
-
Notebook可以访问OBS中的文件,如果对文件进行重命名?
-
Notebook停止或者重启后,“/cache”下的文件还存在么?
-
报错内存已满或者“CUDA error: out of memory”怎么办? 有没有什么办法?
-
kernel Restarting怎么回事?有什么方法?
推荐直播
-
华为AI技术发展与挑战:集成需求分析的实战指南
2024/11/26 周二 18:20-20:20
Alex 华为云学堂技术讲师
本期直播将综合讨论华为AI技术的发展现状,技术挑战,并深入探讨华为AI应用开发过程中的需求分析过程,从理论到实践帮助开发者快速掌握华为AI应用集成需求的框架和方法。
去报名 -
华为云DataArts+DWS助力企业数据治理一站式解决方案及应用实践
2024/11/27 周三 16:30-18:00
Walter.chi 华为云数据治理DTSE技术布道师
想知道数据治理项目中,数据主题域如何合理划分?数据标准及主数据标准如何制定?数仓分层模型如何合理规划?华为云DataArts+DWS助力企业数据治理项目一站式解决方案和应用实践告诉您答案!本期将从数据趋势、数据治理方案、数据治理规划及落地,案例分享四个方面来助力企业数据治理项目合理咨询规划及顺利实施。
去报名
热门标签