DeprecationWarning: the sets module is deprecated from sets import Immut

本文详细阐述了如何通过修改__init__文件、converters.py文件来优化DBAPI Set类的功能,包括替换from sets import...为from immutable_set import...,移除from sets import...并替换Set为set,以提升性能和代码质量。
解决方法:
1) file "__init__", replace:

from sets import ImmutableSet
class DBAPISet(ImmutableSet):

with

class DBAPISet(frozenset)

2) file "converters.py", remove:

from sets import BaseSet, Set

3) file "converters.py", change "Set" by "set" (IMPORTANT: only two places):

line 48或附近: return set([ i for i in s.split(',') if i ])
line 128或附近: set: Set2Str,
C:\Users\hp\Desktop\实训3\main.py:91: FutureWarning: You are adding a column named 'geometry' to a GeoDataFrame constructed without an active geometry column. Currently, this automatically sets the active geometry column to 'geometry' but in the future that will no longer happen. Instead, either provide geometry to the GeoDataFrame constructor (GeoDataFrame(... geometry=GeoSeries()) or use `set_geometry('geometry')` to explicitly set the active geometry column. data['geometry'] = geometry_list C:\Users\hp\Desktop\实训3\main.py:94: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead. roi = sz.unary_union E:\anadaconda\envs\notebook\lib\site-packages\pyogrio\geopandas.py:662: UserWarning: 'crs' was not provided. The output dataset will not have projection information defined and may not be usable in other systems. write( Traceback (most recent call last): File "C:\Users\hp\Desktop\实训3\main.py", line 98, in <module> data = pd.read_csv('C:/Users/hp/Desktop/TaxiData-Sample.csv', header=None) File "E:\anadaconda\envs\notebook\lib\site-packages\pandas\io\parsers\readers.py", line 1026, in read_csv return _read(filepath_or_buffer, kwds) File "E:\anadaconda\envs\notebook\lib\site-packages\pandas\io\parsers\readers.py", line 620, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "E:\anadaconda\envs\notebook\lib\site-packages\pandas\io\parsers\readers.py", line 1620, in __init__ self._engine = self._make_engine(f, self.engine) File "E:\anadaconda\envs\notebook\lib\site-packages\pandas\io\parsers\readers.py", line 1880, in _make_engine self.handles = get_handle( File "E:\anadaconda\envs\notebook\lib\site-packages\pandas\io\common.py", line 873, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/hp/Desktop/TaxiData-Sample.csv'什么意思
05-29
命令行运行pip install dlib==19.24.0 --no-cache-dir --verbose报错: Using pip 25.1.1 from D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip (python 3.13) Collecting dlib==19.24.0 Downloading dlib-19.24.0.tar.gz (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 100.9 kB/s eta 0:00:00 Running command python setup.py egg_info C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:212: SyntaxWarning: invalid escape sequence '\(' major = re.findall("set\(CPACK_PACKAGE_VERSION_MAJOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:213: SyntaxWarning: invalid escape sequence '\(' minor = re.findall("set\(CPACK_PACKAGE_VERSION_MINOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:214: SyntaxWarning: invalid escape sequence '\(' patch = re.findall("set\(CPACK_PACKAGE_VERSION_PATCH.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:194: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running egg_info creating C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info writing C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\PKG-INFO writing dependency_links to C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\dependency_links.txt writing top-level names to C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\top_level.txt writing manifest file 'C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\SOURCES.txt' reading manifest file 'C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools\python\build*' no previously-included directories found matching 'dlib\cmake_utils\*\build*' no previously-included directories found matching 'dlib\test' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'C:\Users\徐庆凯\AppData\Local\Temp\pip-pip-egg-info-x4hwlbut\dlib.egg-info\SOURCES.txt' Preparing metadata (setup.py) ... done Building wheels for collected packages: dlib DEPRECATION: Building 'dlib' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'dlib'. Discussion can be found at https://github.com/pypa/pip/issues/6334 Running command python setup.py bdist_wheel C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:212: SyntaxWarning: invalid escape sequence '\(' major = re.findall("set\(CPACK_PACKAGE_VERSION_MAJOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:213: SyntaxWarning: invalid escape sequence '\(' minor = re.findall("set\(CPACK_PACKAGE_VERSION_MINOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:214: SyntaxWarning: invalid escape sequence '\(' patch = re.findall("set\(CPACK_PACKAGE_VERSION_PATCH.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:194: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py running build_ext C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cmake_version) < '3.1.0': Building extension for Python 3.13.5 (tags/v3.13.5:6cb20a2, Jun 11 2025, 16:15:46) [MSC v.1943 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\build\lib.win-amd64-cpython-313 -DPYTHON_EXECUTABLE=D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\build\lib.win-amd64-cpython-313 -A x64' Traceback (most recent call last): File "<string>", line 2, in <module> exec(compile(''' ~~~~^^^^^^^^^^^^ # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<32 lines>... exec(compile(setup_py_code, filename, "exec")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ''' % ('C:\\Users\\徐庆凯\\AppData\\Local\\Temp\\pip-install-1bugzpia\\dlib_3252fe8772d348fc97cbac2fb469313f\\setup.py',), "<pip-setuptools-caller>", "exec")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<pip-setuptools-caller>", line 35, in <module> File "C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py", line 222, in <module> setup( ~~~~~^ name='dlib', ^^^^^^^^^^^^ ...<38 lines>... ], ^^ ) ^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\__init__.py", line 115, in setup return distutils.core.setup(**attrs) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\core.py", line 186, in setup return run_commands(dist) File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\core.py", line 202, in run_commands dist.run_commands() ~~~~~~~~~~~~~~~~~^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py", line 1002, in run_commands self.run_command(cmd) ~~~~~~~~~~~~~~~~^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\command\bdist_wheel.py", line 370, in run self.run_command("build") ~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run self.run_command(cmd_name) ~~~~~~~~~~~~~~~~^^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\dist.py", line 1102, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py", line 134, in run self.build_extension(ext) ~~~~~~~~~~~~~~~~~~~~^^^^^ File "C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py", line 171, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\徐庆凯\\AppData\\Local\\Temp\\pip-install-1bugzpia\\dlib_3252fe8772d348fc97cbac2fb469313f\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\徐庆凯\\AppData\\Local\\Temp\\pip-install-1bugzpia\\dlib_3252fe8772d348fc97cbac2fb469313f\\build\\lib.win-amd64-cpython-313', '-DPYTHON_EXECUTABLE=D:\\Users\\徐庆凯\\AppData\\Local\\Programs\\Python\\Python313\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\徐庆凯\\AppData\\Local\\Temp\\pip-install-1bugzpia\\dlib_3252fe8772d348fc97cbac2fb469313f\\build\\lib.win-amd64-cpython-313', '-A', 'x64']' returned non-zero exit status 3221226505. error: subprocess-exited-with-error &times; python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: 'D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\python.exe' -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize, traceback try: import setuptools except ImportError: print( "ERROR: Can not execute `setup.py` since setuptools failed to import in " "the build environment with exception:", file=sys.stderr, ) traceback.print_exc() sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'C:\\Users\\徐庆凯\\AppData\\Local\\Temp\\pip-install-1bugzpia\\dlib_3252fe8772d348fc97cbac2fb469313f\\setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d 'C:\Users\徐庆凯\AppData\Local\Temp\pip-wheel-m03b8zax' cwd: C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\\ Building wheel for dlib (setup.py) ... error ERROR: Failed building wheel for dlib Running setup.py clean for dlib Running command python setup.py clean C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:212: SyntaxWarning: invalid escape sequence '\(' major = re.findall("set\(CPACK_PACKAGE_VERSION_MAJOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:213: SyntaxWarning: invalid escape sequence '\(' minor = re.findall("set\(CPACK_PACKAGE_VERSION_MINOR.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:214: SyntaxWarning: invalid escape sequence '\(' patch = re.findall("set\(CPACK_PACKAGE_VERSION_PATCH.*\"(.*)\"", open(cmake_file).read())[0] C:\Users\徐庆凯\AppData\Local\Temp\pip-install-1bugzpia\dlib_3252fe8772d348fc97cbac2fb469313f\setup.py:194: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand D:\Users\徐庆凯\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running clean removing 'build\temp.win-amd64-cpython-313' (and everything under it) 'build\lib.win-amd64-cpython-313' does not exist -- can't clean it 'build\bdist.win-amd64' does not exist -- can't clean it 'build\scripts-3.13' does not exist -- can't clean it removing 'build' Failed to build dlib ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlib)
最新发布
06-21
E:\work\Python3\Lib\site-packages\clip\clip.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging Loading model from checkpoints/M3FD.ckpt Global Step: 2000 [2025-05-28 14:47:22] F:\AI\DiffV2IR\infer.py - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: Error when calling Cognitive Face API: status_code: 401 code: 401 message: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource. [2025-05-28 14:47:22] F:\AI\DiffV2IR\infer.py - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: img_url:https://raw.githubusercontent.com/Microsoft/Cognitive-Face-Windows/master/Data/detection1.jpg [2025-05-28 14:47:23] F:\AI\DiffV2IR\infer.py - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: Error when calling Cognitive Face API: status_code: 401 code: 401 message: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource. [2025-05-28 14:47:23] F:\AI\DiffV2IR\infer.py - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - eprint(line:60) :: img_url:/data1/mingmingzhao/label/data_sets_teacher_1w/47017613_1510574400_out-video-jzc70f41fa6f7145b4b66738f81f082b65_f_1510574403268_t_1510575931221.flv_0001.jpg [] Traceback (most recent call last): File "F:\AI\DiffV2IR\infer.py", line 267, in <module> main() File "F:\AI\DiffV2IR\infer.py", line 154, in main model = load_model_from_config(config, args.ckpt, args.vae_ckpt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\DiffV2IR\infer.py", line 99, in load_model_from_config model = instantiate_from_config(config.model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\DiffV2IR\stable_diffusion\ldm\util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(**config.get("params", dict())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI\DiffV2IR\stable_diffusion\ldm\util.py", line 93, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\work\Python3\Lib\importlib\__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1319, in _find_and_load_unlocked ModuleNotFoundError: No module named 'ldm.models'; 'ldm' is not a package
05-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值