Collecting package metadata (current_repodata.json): failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/conda/gateways/connection/session.py", line 60, in __call__
return cls._thread_local.session
AttributeError: '_thread._local' object has no attribute 'session'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 1079, in __call__
return func(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/conda/cli/main.py", line 84, in _main
exit_code = do_call(args, p)
File "/opt/conda/lib/python3.6/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
return getattr(module, func_name)(args, parser)
File "/opt/conda/lib/python3.6/site-packages/conda/cli/main_install.py", line 20, in execute
install(args, parser, 'install')
File "/opt/conda/lib/python3.6/site-packages/conda/cli/install.py", line 265, in install
should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]),
File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
should_retry_solve)
File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 158, in solve_for_diff
force_remove, should_retry_solve)
File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 262, in solve_final_state
ssc = self._collect_all_metadata(ssc)
File "/opt/conda/lib/python3.6/site-packages/conda/common/io.py", line 88, in decorated
return f(*args, **kwds)
File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 425, in _collect_all_metadata
index, r = self._prepare(prepared_specs)
File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 1021, in _prepare
self.subdirs, prepared_specs, self._repodata_fn)
File "/opt/conda/lib/python3.6/site-packages/conda/core/index.py", line 289, in get_reduced_index
repodata_fn=repodata_fn)
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 140, in query_all
result = tuple(concat(executor.map(subdir_query, channel_urls)))
File "/opt/conda/lib/python3.6/concurrent/futures/_base.py", line 586, in result_iterator
yield fs.pop().result()
File "/opt/conda/lib/python3.6/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/opt/conda/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/opt/conda/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 133, in <lambda>
package_ref_or_match_spec))
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 145, in query
self.load()
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 209, in load
_internal_state = self._load()
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 375, in _load
repodata_fn=self.repodata_fn)
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 680, in fetch_repodata_remote_request
session = CondaSession()
File "/opt/conda/lib/python3.6/site-packages/conda/gateways/connection/session.py", line 62, in __call__
session = cls._thread_local.session = super(CondaSessionType, cls).__call__()
File "/opt/conda/lib/python3.6/site-packages/conda/gateways/connection/session.py", line 88, in __init__
raise_on_status=False)
TypeError: __init__() got an unexpected keyword argument 'raise_on_status'
`$ /opt/conda/bin/conda install -c conda-forge dlib -y`
environment variables:
CIO_TEST=<not set>
CONDA_ROOT=/opt/conda
CURL_CA_BUNDLE=<not set>
GRADIO_ROOT_PATH=/bj-cpu-01/user/16875729/9912179/api_serving/7860
IDE_HUB_PROXY_1_SERVICE_PORT_PROXY=<set>
LD_LIBRARY_PATH=/usr/local/cuda-11.2/targets/x86_64-linux/lib/:/usr/local/cuda-11.2/li
b64:/usr/local/cuda-11.2/targets/x86_64-linux/:/usr/lib/x86_64-linux-g
nu:/usr/local/cuda/lib64:/opt/conda/envs/python35-paddle120-env/lib:/u
sr/lib64:/usr/local/lib:/usr/local/cuda-12.6/lib64
LIBRARY_PATH=/usr/local/cuda/lib64/stubs
PATH=/home/aistudio/.data/webide/pip/bin:/opt/conda/envs/python35-paddle120
-env/bin:/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr
/local/sbin:/usr/sbin:/sbin:/home/work/bin:/home/work/.local/bin:/usr/
local/bin:/usr/bin:/bin
PYTHONUSERBASE=/home/aistudio/.data/webide/pip
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
WEBIDE_SYS_PYTHON_PATH=/opt/conda/envs/webide/bin
WEBIDE_USER_PYTHON_PATH=/opt/conda/envs/python35-paddle120-env/bin
active environment : None
user config file : /home/aistudio/.condarc
populated config files : /home/aistudio/.condarc
conda version : 4.10.1
conda-build version : not installed
python version : 3.6.8.final.0
virtual packages : __cuda=12.0=0
__linux=5.4.0=0
__glibc=2.23=0
__unix=0=0
__archspec=1=x86_64
base environment : /opt/conda (writable)
conda av data dir : /opt/conda/etc/conda
conda av metadata url : https://repo.anaconda.com/pkgs/main
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/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
package cache : /opt/conda/pkgs
/home/aistudio/.conda/pkgs
envs directories : /opt/conda/envs
/home/aistudio/.conda/envs
platform : linux-64
user-agent : conda/4.10.1 requests/2.22.0 CPython/3.6.8 Linux/5.4.0-139-generic ubuntu/16.04.6 glibc/2.23
UID:GID : 1000:1000
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
Upload did not complete.
Looking in indexes: https://mirror.baidu.com/pypi/simple/, https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: opencv-python in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (4.1.1.26)
Requirement already satisfied: numpy in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (1.20.3)
Requirement already satisfied: pandas in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (1.1.5)
Requirement already satisfied: matplotlib in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (2.2.3)
Requirement already satisfied: scikit-learn in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (0.24.2)
Collecting paddlepaddle-gpu==1.8.5.post107
Using cached https://mirrors.aliyun.com/pypi/packages/55/dc/0d66f7c06cb3efea5caef4e82ebf2dd245ffcda635b2e5ca15ef0fc2a2e7/paddlepaddle_gpu-1.8.5.post107-cp37-cp37m-manylinux1_x86_64.whl (407.2 MB)
Requirement already satisfied: protobuf>=3.1.0 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (3.20.1)
Requirement already satisfied: six in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (1.16.0)
Requirement already satisfied: scipy in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (1.6.3)
Requirement already satisfied: rarfile in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (3.1)
Requirement already satisfied: gast==0.3.3 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (0.3.3)
Requirement already satisfied: decorator in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (4.4.2)
Requirement already satisfied: requests>=2.20.0 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (2.22.0)
Requirement already satisfied: graphviz in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (0.13)
Requirement already satisfied: pyyaml in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (5.1.2)
Requirement already satisfied: pathlib in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (1.0.1)
Requirement already satisfied: funcsigs in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (1.0.2)
Requirement already satisfied: Pillow in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (8.2.0)
Requirement already satisfied: astor in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (0.8.1)
Requirement already satisfied: objgraph in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (3.4.1)
Requirement already satisfied: nltk in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (3.4.5)
Requirement already satisfied: prettytable in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from paddlepaddle-gpu==1.8.5.post107) (0.7.2)
Requirement already satisfied: pytz>=2017.2 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from pandas) (2019.3)
Requirement already satisfied: python-dateutil>=2.7.3 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from pandas) (2.8.2)
Requirement already satisfied: cycler>=0.10 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from matplotlib) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from matplotlib) (1.1.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from matplotlib) (3.0.9)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from scikit-learn) (2.1.0)
Requirement already satisfied: joblib>=0.11 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from scikit-learn) (0.14.1)
Requirement already satisfied: setuptools in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib) (56.2.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.8.5.post107) (1.25.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.8.5.post107) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.8.5.post107) (2019.9.11)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.8.5.post107) (2.8)
Installing collected packages: paddlepaddle-gpu
Attempting uninstall: paddlepaddle-gpu
Found existing installation: paddlepaddle-gpu 2.2.2.post101
Uninstalling paddlepaddle-gpu-2.2.2.post101:
Successfully uninstalled paddlepaddle-gpu-2.2.2.post101
Successfully installed paddlepaddle-gpu-1.8.5.post107
[notice] A new release of pip available: 22.1.2 -> 24.0
[notice] To update, run: pip install --upgrade pip
最新发布