240919-Pip先在线下载不安装+再离线安装

news2024/9/20 4:18:36

A. 最终效果

在这里插入图片描述
在这里插入图片描述

# 使用modelscope sdk下载模型
import os
os.environ['MODELSCOPE_CACHE'] = '您希望的下载路径'

from modelscope import snapshot_download
model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
print(f"模型文件下载路径为:{model_dir}/models")

B. 需求背景

最近接触下面这个项目:

  • MinerU/docs/README_Ubuntu_CUDA_Acceleration_en_US.md at master · opendatalab/MinerU

需要安装Python环境

pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com

然而,公司不能访问:https://wheels.myhloli.com

C. 解决思路

  • 在有网可访问的环境中pip download所有的安装包
  • 将所有安装包拷贝到离线的服务器上
  • pip 安装

D. 理论说明

要使用 pip install 命令来 只下载 包而不安装,可以通过添加 --no-install 选项来实现。然而,--no-install 选项已被弃用。现在,你应该使用 pip download 命令来完成这个任务。

如果你仍想利用 pip install 下载包而不实际安装,直接的方法并不存在。你应使用 pip download 命令,如下所示:

pip download <package-name> -d <directory>

此命令只会下载包到指定的目录,而不会安装它们。例如:

pip download numpy -d ./packages

这将会把 numpy 包下载到 ./packages 目录中,而不会安装它。

E. 实战操作

E.1 在线下载
  • 下面这段命令有误
pip download -d pip_download_mineru -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com

上面提供的命令有几个地方需要注意:

  1. -U 参数(升级包)通常在 pip install 中使用,而 pip download 的作用是下载包,而不是安装或升级包,所以不需要 -U 参数。
  2. 目录 pip_download_mineru 应该存在,或者在当前路径中会自动创建。
  3. magic-pdf[full] 的形式正确,这种语法用于指定包的扩展依赖。

以下是修改后的命令:

pip download -d pip_download_mineru magic-pdf[full] --extra-index-url https://wheels.myhloli.com

这条命令会在 pip_download_mineru 目录下下载 magic-pdf 包及其扩展依赖,使用你指定的 --extra-index-url

E.2 查看大小

在 Linux 中,你可以使用 du 命令来查看指定文件夹的大小。常见的命令格式如下:

du -sh /path/to/folder

解释:

  • -s:只显示总计(summary)。
  • -h:以人类可读的格式显示(例如 KB、MB、GB)。

示例:

du -sh /home/user/documents

这会返回 /home/user/documents 文件夹的总大小,使用友好的单位显示。

E.3 离线安装

下载完后,你可以通过以下命令安装下载的包:

pip install --no-index --find-links=./pip_download_mineru magic-pdf[full]

解释:

  1. --no-index:告诉 pip 不从 PyPI 仓库下载,避免网络请求。
  2. --find-links=./pip_download_mineru:指定你之前下载的包所在目录。
  3. magic-pdf[full]:安装指定的包以及其扩展依赖。

确保你在执行该命令时当前路径能正确找到 pip_download_mineru 目录,或者提供该目录的绝对路径。

F. 补充操作

F.1 Linux压缩文件夹

在Linux系统中,使用zip命令可以压缩文件夹及其内容。以下是压缩文件夹的步骤:

  • 压缩文件夹
  1. 打开终端。

  2. 使用以下命令来压缩文件夹:

    zip -r 压缩文件名.zip 文件夹名/
    

    其中:

    • -r 参数表示递归压缩,也就是将文件夹中的所有内容(包括子文件夹)都压缩。
    • 压缩文件名.zip 是你希望生成的压缩文件名。
    • 文件夹名/ 是你要压缩的文件夹路径。
  • 示例
    假设你有一个名为 my_folder 的文件夹,想要压缩为 my_folder.zip
zip -r my_folder.zip my_folder/
  • 解压文件
    如果你想解压这个压缩文件,可以使用以下命令:
unzip my_folder.zip

这样可以将压缩文件夹恢复到当前目录下。

如果你需要更多帮助,请告诉我!

F.2 Linux分割大文件

在Linux系统中,可以使用split命令将大文件分割为指定大小的小文件。以下是分割大文件的步骤:

  • 使用 split 命令分割大文件
  1. 打开终端。

  2. 使用以下命令将文件分割成指定大小的小文件:

    split -b [大小] [大文件名] [输出文件前缀]
    

    其中:

    • -b [大小]:指定每个分割文件的大小。你可以使用字节(B)、千字节(K)、兆字节(M)或千兆字节(G)作为单位。例如,10M 表示 10 MB,500K 表示 500 KB。
    • [大文件名]:要分割的大文件的文件名。
    • [输出文件前缀]:分割文件的前缀名,后面会自动添加分割文件的编号或字母。
  • 示例

假设你有一个名为 large_file.txt 的大文件,并且想要将其分割成每个 100 MB 的小文件,使用如下命令:

split -b 100M large_file.txt small_part_

这将生成名为 small_part_aasmall_part_absmall_part_ac 等的分割文件,每个文件大小为 100 MB。

  • 重新合并分割的文件

如果你想将分割的文件重新合并成一个大文件,可以使用 cat 命令:

cat small_part_* > merged_file.txt

这将所有以 small_part_ 开头的文件合并为 merged_file.txt

如果你有其他问题,随时告诉我!

G. 问题汇总

G.1 报错1
  • 终端显示
Processing ./pip_download_mineru/fairscale-0.4.13.tar.gz (from unimernet==0.1.6->magic-pdf[full])
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [4 lines of output]
      Looking in links: ./pip_download_mineru
      Processing ./pip_download_mineru/setuptools-75.1.0-py3-none-any.whl
      ERROR: Could not find a version that satisfies the requirement wheel>=0.30.0 (from versions: none)
      ERROR: No matching distribution found for wheel>=0.30.0
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies 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.
  • 解决方法
    The error you’re encountering stems from missing dependencies for the package you’re trying to install. Specifically, the error message says that wheel>=0.30.0 could not be found. Here’s how you can resolve this issue:
  1. Ensure wheel is installed:
    Manually install wheel before trying again.

    pip install wheel
    
  2. Update setuptools and pip:
    It’s also a good idea to make sure both setuptools and pip are up to date:

    pip install --upgrade pip setuptools
    
  3. Check local repository:
    You’re pointing to a local link (./pip_download_mineru) for installation. This could indicate that the dependencies are stored locally, but the required version of wheel isn’t there. Ensure that the wheel package is available in the local directory or use PyPI as a fallback:

    pip install wheel>=0.30.0 --no-index --find-links ./pip_download_mineru
    
  4. Try installing from PyPI:
    If the local link is missing some dependencies, try installing the packages directly from PyPI:

    pip install fairscale==0.4.13
    

After these steps, attempt the installation of unimernet again:

pip install unimernet==0.1.6

Let me know if you run into further issues!

G.2 报错2
Building wheels for collected packages: wordninja, fire, fvcore, antlr4-python3-runtime, langdetect
  Building wheel for wordninja (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-gkp67rkk/wordninja_89b2c7b1604a41e4af4e95471e7a9145/setup.py", line 10, in <module>
          setup(name='wordninja',
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 170, in setup
          ok = dist.parse_command_line()
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
          args = self._parse_command_opts(parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 852, in _parse_command_opts
          nargs = _Distribution._parse_command_opts(self, parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
          cmd_class = self.get_command_class(command)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 691, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for wordninja
  Running setup.py clean for wordninja
  Building wheel for fire (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      /home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
        warnings.warn(msg)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-gkp67rkk/fire_dc658731467749cbb9438498fd528508/setup.py", line 46, in <module>
          setup(
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 170, in setup
          ok = dist.parse_command_line()
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
          args = self._parse_command_opts(parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 852, in _parse_command_opts
          nargs = _Distribution._parse_command_opts(self, parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
          cmd_class = self.get_command_class(command)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 691, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fire
  Running setup.py clean for fire
  Building wheel for fvcore (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-gkp67rkk/fvcore_1565d5fa326e4480a955279e9cb6c3fa/setup.py", line 36, in <module>
          setup(
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 170, in setup
          ok = dist.parse_command_line()
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
          args = self._parse_command_opts(parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 852, in _parse_command_opts
          nargs = _Distribution._parse_command_opts(self, parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
          cmd_class = self.get_command_class(command)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 691, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fvcore
  Running setup.py clean for fvcore
  Building wheel for antlr4-python3-runtime (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-gkp67rkk/antlr4-python3-runtime_2f0618cd1c4145a0bd498a4cb967badf/setup.py", line 3, in <module>
          setup(
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 170, in setup
          ok = dist.parse_command_line()
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
          args = self._parse_command_opts(parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 852, in _parse_command_opts
          nargs = _Distribution._parse_command_opts(self, parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
          cmd_class = self.get_command_class(command)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 691, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for antlr4-python3-runtime
  Running setup.py clean for antlr4-python3-runtime
  Building wheel for langdetect (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-gkp67rkk/langdetect_59538374717e4b6e841b1667ce4bc473/setup.py", line 11, in <module>
          setup(
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 170, in setup
          ok = dist.parse_command_line()
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
          args = self._parse_command_opts(parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 852, in _parse_command_opts
          nargs = _Distribution._parse_command_opts(self, parser, args)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
          cmd_class = self.get_command_class(command)
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/dist.py", line 691, in get_command_class
          from .command.bdist_wheel import bdist_wheel
        File "/home/lgk/.conda/envs/MinerU/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
          from wheel.wheelfile import WheelFile
      ModuleNotFoundError: No module named 'wheel.wheelfile'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for langdetect
  Running setup.py clean for langdetect
Failed to build wordninja fire fvcore antlr4-python3-runtime langdetect
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (wordninja, fire, fvcore, antlr4-python3-runtime, langdetect)
  • 解决方法

The errors you’re encountering are all related to a missing wheel module. Specifically, the wheel.wheelfile module is required for building wheels from the source. Here’s how you can troubleshoot and resolve the issue:

  • Steps to resolve:
  1. Install or upgrade wheel:
    Make sure wheel is properly installed and up to date in your environment:

    pip install --upgrade wheel
    
  2. Ensure setuptools and pip are up to date:
    Updating setuptools and pip often helps with build-related errors:

    pip install --upgrade setuptools pip
    
  3. Install dependencies using --no-build-isolation:
    Sometimes the default build isolation can cause issues. You can try installing the packages without build isolation:

    pip install --no-build-isolation wordninja fire fvcore antlr4-python3-runtime langdetect
    
  4. Attempt to install pre-built wheels from PyPI:
    If you’re building from source and it’s failing, check if pre-built wheels are available on PyPI for the specific packages:

    pip install wordninja fire fvcore antlr4-python3-runtime langdetect --prefer-binary
    
  5. Use conda-forge channel (if using conda):
    If you’re using a conda environment, try using the conda-forge channel to install pre-built versions of the libraries:

    conda install -c conda-forge wordninja fire fvcore antlr4-python3-runtime langdetect
    
  6. Check your environment:
    If you have multiple Python environments, ensure that the correct one is being used. Activate the specific environment and try the installation again.

Once you’ve tried these steps, re-run the package installation:

pip install unimernet==0.1.6

Let me know how it goes or if you encounter any further issues!

  • 最终验证

在这里插入图片描述

H. 参考文献

  • ModelScope模型下载默认位置及如何修改为指定路径 – 通塔师AI导航

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2147837.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【新手上路】衡石分析平台使用手册-认证方式

认证方式​ 用户登录衡石系统时&#xff0c;系统需要对输入的用户名和密码进行验证&#xff0c;保证系统的安全。衡石提供 CAS、SAML2、OAUTH2等多种单点登录认证方式。在 SSO 单点登录中&#xff0c;衡石是服务提供者 SP&#xff08;Service Provider&#xff09;为用户提供所…

synchronized是怎么实现的?

synchronized是JVM的语法糖&#xff0c;主要是通过JVM来控制的。其实现原理依赖于JVM的监视器和对象头。 synchronized修饰方法时&#xff0c;JVM会通过编译完的字节码的访问标记来区分该方法是否被synchronized修饰&#xff0c;在进入方法的时候就会进行获得锁的竞争&#xff…

鸿蒙媒体开发系列06——输出设备与音频流管理

如果你也对鸿蒙开发感兴趣&#xff0c;加入“Harmony自习室”吧&#xff01;扫描下方名片&#xff0c;关注公众号&#xff0c;公众号更新更快&#xff0c;同时也有更多学习资料和技术讨论群。 1、音频输出设备管理 有时设备同时连接多个音频输出设备&#xff0c;需要指定音频输…

python 爬虫 selenium 笔记

todo 阅读并熟悉 Xpath, 这个与 Selenium 密切相关、 selenium selenium 加入无图模式&#xff0c;速度快很多。 from selenium import webdriver from selenium.webdriver.chrome.options import Options# selenium 无图模式&#xff0c;速度快很多。 option Options() o…

栈、队列、链表

基于《啊哈&#xff01;算法》和《数据结构》&#xff08;人民邮电出版社&#xff09; 本博客篇幅较多&#xff0c;读者根据目录选择&#xff0c;不理解的可留言和私信。 栈、队列、链表都是线性结构。 三者都不是结构体、数组这种数据类型&#xff0c;我认为更像是一种算法…

面试必备!值得收藏!不容错过的100+ 大语言模型面试问题及答案

引言 大语言模型&#xff08;LLMs&#xff09;现在在数据科学、生成式人工智能&#xff08;GenAI&#xff0c;即一种借助机器自动产生新信息的技术&#xff09;和人工智能领域越来越重要。这些复杂的算法提升了人类的技能&#xff0c;并在诸多行业中推动了效率和创新性的提升。…

Windows如何查看已缓存的DNS信息

Windows server 2016如何查看已缓存的DNS信息 在Windows server 2016系统下&#xff0c;如何查看已缓存的DNS信息呢? 1.打开“运行”&#xff0c;输入cmd&#xff0c;点击“确定” 2.在命令行界面输入ipconfig /displaydns&#xff0c;按回车即可查看已缓存的dns信息

9月26日云技术研讨会 | SOA整车EE架构开发流程及工具实施方案

面向服务的架构&#xff08;Service Oriented Architecture, SOA&#xff09;实施需要复杂的基础技术作为支撑&#xff0c;伴随着整车硬件资源的集中化、车载以太网等高速通信技术在车内的部署&#xff0c;将在未来一段时间内成为行业技术研究和市场布局的热点。 近年来&#x…

分享几种方式获取免费精致的Live2d模型

文章目录 1、 Live2D官方示例数据集&#xff08;可免费下载&#xff09;2、模之屋3、unity商店4、直接b站搜索5、youtube6、BOOTH完结 1、 Live2D官方示例数据集&#xff08;可免费下载&#xff09; 官方提供了一些 Live2D实例模型给大家下载使用 地址&#xff1a;https://ww…

房屋租赁系统源码分享:SpringBoot + Vue 免费分享

这是一套使用 SpringBoot 与 Vue 开发的房屋租赁系统源码&#xff0c;站长分析过这套源码&#xff0c;推测其原始版本可能是一个员工管理系统&#xff0c;经过二次开发后&#xff0c;功能被拓展和调整&#xff0c;现已完全适用于房屋租赁业务。 源码说明&#xff1a; 该系统功…

一键生成高级感PPT封面,首推这个在线AI生成PPT软件!

PPT封面怎么做&#xff1f; ppt封面的重要性不言而喻&#xff0c;就像写文章讲究的“凤头”&#xff0c;一个漂亮的PPT封面&#xff0c;可以吸引观众的注意力&#xff0c;让人有意愿驻足下来听你演讲&#xff0c;才会有后面更多的故事发生。 漂亮的ppt封面怎么做&#xff1f;…

dll文件丢失怎么恢复?10种dll修复方法任你选,一次学会!

dll文件丢失怎么恢复&#xff1f;dll文件丢失在多个Windows 版本中都是常见的问题&#xff0c;包括win7/win8/win10和 win11。这类错误通常与一些特定的dll文件有关&#xff0c;比如MSVCR110.DLL、MSVCR71.DLL、d3compiler_43.DLL、LogiLDA.DLL、MSVCP140.DLL、api-ms-win-crt-…

组装电脑-电脑配置

键盘、鼠标&#xff1a;买一百多的机械盘。 主板 电脑台式机主板是计算机最基本的同时也是最重要的部件之一&#xff0c;它在整个计算机系统中扮演着举足轻重的角色。以下是对它的详细介绍&#xff1a; 基础功能&#xff1a; 主板作为计算机的核心部件&#xff0c;负责连接和…

【图像检索】基于颜色模型的图像内容检索,matlab实现

博主简介&#xff1a;matlab图像代码项目合作&#xff08;扣扣&#xff1a;3249726188&#xff09; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本次案例是基于颜色模型的图像内容检索&#xff0c;用matlab实现。 一、案例背景和算法介绍 这…

inBuilder低代码平台新特性推荐-第二十四期

今天给大家带来的是 inBuilder 低代码平台新特性推荐第二十四期 ——表单格式支持流程配置。 场景介绍&#xff1a; 如下图所示&#xff0c;目前支持在流程设计上的不同节点设置表单字段的必填、显隐等属性控制&#xff0c;不必在表单设计上进行配置&#xff0c;从而减少了开…

VS Code远程连接虚拟机

VS Code远程连接虚拟机 1.下载vscode2.打开VS Code下载Remote-SSH插件1.修改相关信息 3.虚拟机检查或安装ssh4.检查虚拟机服务是否安装成功5.开启ssh&#xff0c;并检查是否开启成功 1.下载vscode 2.打开VS Code下载Remote-SSH插件 1.修改相关信息 2. 3.虚拟机检查或安装ssh…

同一个单元格内包含标签和文本框

<!DOCTYPE html> <html> <head> <title>单元格内包含标签和文本框</title> <style> /* 可选的CSS样式&#xff0c;用于美化表格 */ table { width: 50%; /* 设置表格宽度为页面宽度的50% */ border-collapse: collapse; /* 合并…

【JSrpc破解前端加密问题】

目录 一、背景 二、项目介绍 三、JSrpc 处理前端加密步骤 一、背景 解决日常渗透测试、红蓝对抗中的前端密码加密问题&#xff0c;让你的爆破更加丝滑&#xff1b;降低js逆向加密的难度&#xff0c;降低前端加密逻辑分析工作量和难度。 二、项目介绍 运行服务器程序和js脚本…

解锁生命活力密码!帕金森患者的专属锻炼秘籍,让每一步都稳健前行

在这个快节奏的时代&#xff0c;健康成为了我们最宝贵的财富之一。然而&#xff0c;对于帕金森病患者而言&#xff0c;身体的逐渐僵硬、运动能力的下降&#xff0c;似乎给生活按下了减速键。但请相信&#xff0c;科学的锻炼方法&#xff0c;就是那把重启生命活力的钥匙&#xf…

时间复杂度的常用符号+渐进时间复杂度分析

时间复杂度的常用符号 Θ \Theta Θ 如果 f ( n ) Θ ( g ( n ) ) f(n)\Theta(g(n)) f(n)Θ(g(n))&#xff0c;则 f ( n ) f(n) f(n) 与 g ( n ) g(n) g(n) 同阶。&#xff08;阶是指 f ( n ) f(n) f(n) 的指数&#xff0c;比如 n 2 n^2 n2 高于 n n n&#xff09; O O …