直接pip安装发现老师下不下来,只能用迅雷下,下了
下完装上报这个错
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/cli/main.py", line 64, in main_subshell
exit_code = do_call(args, parser)
^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/cli/conda_argparse.py", line 167, in do_call
result = getattr(module, func_name)(args, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/cli/main_list.py", line 173, in execute
return print_packages(
^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/cli/main_list.py", line 103, in print_packages
exitcode, output = list_packages(
^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/cli/main_list.py", line 41, in list_packages
PrefixData(prefix, pip_interop_enabled=True).iter_records(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/core/prefix_data.py", line 153, in iter_records
return iter(self._prefix_records.values())
^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/core/prefix_data.py", line 187, in _prefix_records
return self.__prefix_records or self.load() or self.__prefix_records
^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/common/io.py", line 84, in decorated
return f(*args, **kwds)
^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/core/prefix_data.py", line 82, in load
self._load_site_packages()
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/core/prefix_data.py", line 323, in _load_site_packages
python_record = read_python_record(
^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/gateways/disk/read.py", line 277, in read_python_record
pydist = PythonDistribution.init(prefix_path, anchor_file, python_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/common/pkg_formats/python.py", line 81, in init
return PythonInstalledDistribution(prefix_path, anchor_file, python_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/common/pkg_formats/python.py", line 417, in __init__
super().__init__(anchor_full_path, python_version)
File "/home/hjn/anaconda3/lib/python3.11/site-packages/conda/common/pkg_formats/python.py", line 113, in __init__
raise RuntimeError("Path not found: %s" % anchor_full_path)
RuntimeError: Path not found: /home/hjn/anaconda3/envs/OpenSTL/lib/python3.9/site-packages/botocore-1.34.78.dist-info
`$ /home/hjn/anaconda3/bin/conda list -p /home/hjn/anaconda3/envs/OpenSTL`
environment variables:
CIO_TEST=<not set>
CONDA_DEFAULT_ENV=base
CONDA_EXE=/home/hjn/anaconda3/bin/conda
CONDA_PREFIX=/home/hjn/anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/home/hjn/anaconda3/bin/python
CONDA_ROOT=/home/hjn/anaconda3
CONDA_SHLVL=1
CURL_CA_BUNDLE=<not set>
LD_LIBRARY_PATH=/home/hjn/anaconda3/envs/OpenSTL/lib/python3.9/site-
packages/nvidia/cudnn/lib:
LD_PRELOAD=<not set>
PATH=/home/hjn/software/cuda/bin:/home/hjn/anaconda3/bin:/home/hjn/anaconda
3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
n:/usr/games:/usr/local/games:/snap/bin
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : base
active env location : /home/hjn/anaconda3
shell level : 1
user config file : /home/hjn/.condarc
populated config files :
conda version : 23.7.4
conda-build version : 3.26.1
python version : 3.11.5.final.0
virtual packages : __archspec=1=x86_64
__cuda=12.3=0
__glibc=2.31=0
__linux=5.4.0=0
__unix=0=0
base environment : /home/hjn/anaconda3 (writable)
conda av data dir : /home/hjn/anaconda3/etc/conda
conda av metadata url : None
channel URLs : 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 : /home/hjn/anaconda3/pkgs
/home/hjn/.conda/pkgs
envs directories : /home/hjn/anaconda3/envs
/home/hjn/.conda/envs
platform : linux-64
user-agent : conda/23.7.4 requests/2.31.0 CPython/3.11.5 Linux/5.4.0-125-generic ubuntu/20.04.6 glibc/2.31
UID:GID : 1003:1003
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install <package>
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install <package>
但是是能用的
后面在另外两台机器上装了boto3都很顺利
如何使用python上传数据看这个
https://www.linode.com/docs/products/storage/object-storage/guides/aws-sdk-for-python/
网友评论