当前位置: 首页 > news >正文

网络公司经营范围网站建设seo是什么意思?

网络公司经营范围网站建设,seo是什么意思?,上海市建设安全协会网站j,网站建设包含哪些方面1.4 下载rust编辑器 看到这里你肯定会疑惑了,我们不是要用python的吗? 这个我也不知道,你下了就对了,不然后面的transformers无法安装 因为是windows到官网选择推荐的下载方式https://www.rust-lang.org/tools/install。 执行文…
1.4 下载rust编辑器

看到这里你肯定会疑惑了,我们不是要用python的吗

这个我也不知道,你下了就对了,不然后面的transformers无法安装

因为是windows到官网选择推荐的下载方式https://www.rust-lang.org/tools/install。

在这里插入图片描述
执行文件,输入1即可。

在这里插入图片描述
测试是否安装成功。
在这里插入图片描述

避坑2:所有的下载都必须git clone,不要本地下载

这是因为git clone下载时会自动有个node tree,我不知道这hash值具体有什么用的,应该类似钥匙,如果本地下载后,它们就会没有这个hash值,运行webui-user.bat时就会提示错误。

错误类似:

reference is not a tree: 24268930bf1dce879235a7fddd0b2355b84d7ea6

2.1 在完成上述步骤后,就运行webui-user.bat

等一会,等到命令行工具显示下载installing GFPGAN时,就Ctrl+C停止批量工具操作,这时会产生一个\venv\Scripts的路径。

2.2 git clone命令与相应操作如下(看自己安装目录更改)

使用git bash工具

git clone https://github.com/TencentARC/GFPGAN.git "D:\SD\venv\Scripts\GFPGAN"

之后在命令行到D:\SD\venv\Scripts\GFPGAN输入如下的命令。

D:\SD\venv\Scripts\python.exe -m pip install basicsr facexlib 
D:\SD\venv\Scripts\python.exe -m pip install -r requirements.txt 
D:\SD\venv\Scripts\python.exe setup.py develop
D:\SD\venv\Scripts\python.exe -m pip install realesrgan

然后到下载open_clip,也是同样的git bash

git clone https://github.com/mlfoundations/open_clip "D:\SD\venv\Scripts\open_clip"

命令行到D:\SD\venv\Scripts\open_clip输入如下的命令。

D:\SD\venv\Scripts\python.exe setup.py build install

也是同样的操作到CLIP

git clone https://github.com/openai/CLIP.git "D:\SD\venv\Scripts\CLIP"

到相应的目录下,输入如下命令

D:\SD\venv\Scripts\python.exe -m pip install ftfy regex tqdm
D:\SD\venv\Scripts\python.exe setup.py build install
2.3 gitclone与安装依赖

其实操作也跟2.2类型,相应操作也是合起来如下,没有repositories文件夹,就自己新建一个:

git clone https://github.com/Stability-AI/stablediffusion.git "D:\SD\repositories\stable-diffusion-stability-ai" git clone https://github.com/CompVis/taming-transformers.git "D:\SD\repositories\taming-transformers" git clone https://github.com/crowsonkb/k-diffusion.git "D:\SD\repositories\k-diffusion"git clone https://github.com/sczhou/CodeFormer.git "D:\SD\repositories\CodeFormer" git clone https://github.com/salesforce/BLIP.git "D:\SD\repositories\BLIP"

但是要到上面涉及到的每个目录下,检查是否有requirements.txt文件,有就到对应目录的命令行,执行如下命令

D:\SD\venv\Scripts\python.exe -m pip install -r requirements.txt 
2.4 pip transformers时,麻烦的tokenziers错误
解决方案:网络问题,试多几次(这里我用了差不多3~4h弄成功了)

尽管之前已经安装好了rust编辑器,但是它还会提示各种千奇百怪的错误,比如我下面这个。

Building wheels for collected packages: tokenizersBuilding wheel for tokenizers (pyproject.toml) ... errorerror: subprocess-exited-with-error× Building wheel for tokenizers (pyproject.toml) did not run successfully.│ exit code: 1╰─> [62 lines of output]running bdist_wheelrunning buildrunning build_pycreating buildcreating build\lib.win-amd64-cpython-310creating build\lib.win-amd64-cpython-310\tokenizerscopying py_src\tokenizers\__init__.py -> build\lib.win-amd64-cpython-310\tokenizerscreating build\lib.win-amd64-cpython-310\tokenizers\modelscopying py_src\tokenizers\models\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\modelscreating build\lib.win-amd64-cpython-310\tokenizers\decoderscopying py_src\tokenizers\decoders\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\decoderscreating build\lib.win-amd64-cpython-310\tokenizers\normalizerscopying py_src\tokenizers\normalizers\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\normalizerscreating build\lib.win-amd64-cpython-310\tokenizers\pre_tokenizerscopying py_src\tokenizers\pre_tokenizers\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\pre_tokenizerscreating build\lib.win-amd64-cpython-310\tokenizers\processorscopying py_src\tokenizers\processors\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\processorscreating build\lib.win-amd64-cpython-310\tokenizers\trainerscopying py_src\tokenizers\trainers\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\trainerscreating build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\base_tokenizer.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\bert_wordpiece.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\byte_level_bpe.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\char_level_bpe.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\sentencepiece_bpe.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\sentencepiece_unigram.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscopying py_src\tokenizers\implementations\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\implementationscreating build\lib.win-amd64-cpython-310\tokenizers\toolscopying py_src\tokenizers\tools\visualizer.py -> build\lib.win-amd64-cpython-310\tokenizers\toolscopying py_src\tokenizers\tools\__init__.py -> build\lib.win-amd64-cpython-310\tokenizers\toolscopying py_src\tokenizers\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizerscopying py_src\tokenizers\models\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\modelscopying py_src\tokenizers\decoders\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\decoderscopying py_src\tokenizers\normalizers\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\normalizerscopying py_src\tokenizers\pre_tokenizers\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\pre_tokenizerscopying py_src\tokenizers\processors\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\processorscopying py_src\tokenizers\trainers\__init__.pyi -> build\lib.win-amd64-cpython-310\tokenizers\trainerscopying py_src\tokenizers\tools\visualizer-styles.css -> build\lib.win-amd64-cpython-310\tokenizers\toolsrunning build_extrunning build_rustcargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --warning: unused manifest key: target.x86_64-apple-darwin.rustflagsUpdating crates.io indexwarning: spurious network error (2 tries remaining): failed to send request: 鎿嶄綔瓒呮椂; class=Os (2)warning: spurious network error (1 tries remaining): failed to send request: 鎿嶄綔瓒呮椂; class=Os (2)error: failed to get `env_logger` as a dependency of package `tokenizers-python v0.10.3 (C:\Users\LENOVO\AppData\Local\Temp\pip-install-bw47mt33\tokenizers_3b1650888a634bdab4e4c98d147e7833)`Caused by:failed to load source for dependency `env_logger`Caused by:Unable to update registry `crates-io`Caused by:failed to fetch `https://github.com/rust-lang/crates.io-index`Caused by:failed to send request: 鎿嶄綔瓒呮椂; class=Os (2)error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module --crate-type cdylib --` failed with code 101[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for tokenizers
Failed to build tokenizers

后面我找了网上不少答案,发现它们的回答根本就不统一,后面我问了一下chatGPT,人家的回答如下:

说人话:chatGPT不知道为什么会这样啊?

注意

其实就是网络问题,跟你的工具版本没关系的,你多试几次,或者找找有没有更快下载的通道

在这里插入图片描述

错误信息表明在安装过程中构建tokenizers包的wheel文件出现了问题。错误发生在运行cargo rustc命令时,该命令用于编译Rust代码。

具体的错误信息如下:

error: failed to get `env_logger` as a dependency of package `tokenizers-python v0.10.3`

这个错误表明构建过程无法获取tokenizers包所需的env_logger依赖项。

错误进一步说明了以下内容:

Caused by:Unable to update registry `crates-io`Caused by:failed to fetch `https://github.com/rust-lang/crates.io-index`Caused by:failed to send request: 鎿嶄綔瓒呮椂
; class=Os (2)

这些消息表明更新注册表和获取所需的依赖项时出现了问题。错误信息failed to send request: 鎿嶄綔瓒呮椂表明可能存在网络问题或者crates.io索引的临时问题。

以下是解决该问题的几个步骤:

  1. 检查网络连接:确保您拥有稳定的互联网连接,并能够访问外部资源。

  2. 重试安装:有时网络问题可能是暂时的。再次尝试运行安装命令,看看问题是否能够解决。

  3. 清除pip缓存:pip会缓存软件包以提高安装速度。然而,缓存文件有时会引发问题。您可以尝试通过运行以下命令清除pip缓存:

    pip cache purge
    
  4. 指定其他软件包源:您可以尝试从其他软件包源安装该软件包。例如,您可以使用--index-url选项来指定另一个软件包索引:

    pip install --index-url https://pypi.python.org/simple/ tokenizers
    
  5. 升级pip和setuptools:过时的pip和setuptools版本有时会引发问题。尝试运行以下命令升级它们:

    pip install --upgrade pip
    pip install --upgrade setuptools
    
  6. 安装Rust:tokenizers包依赖于Rust。确保您的系统上已安装Rust并且是最新版本。您可以按照官方Rust网站(https://www.rust-lang.org/tools/install)上的说明安装Rust。

如果尝试了这些步骤后问题仍然存在,建议搜索与tokenizers包相关的类似问题或错误消息,看看是否有已知的解决方案或变通方法。您可以在论坛或问题跟踪器上寻找相关信息。


文章转载自:
http://scarf.hmxb.cn
http://socioeconomic.hmxb.cn
http://ius.hmxb.cn
http://mussuck.hmxb.cn
http://zedonk.hmxb.cn
http://piano.hmxb.cn
http://atop.hmxb.cn
http://dermatozoon.hmxb.cn
http://gramarie.hmxb.cn
http://retrad.hmxb.cn
http://demist.hmxb.cn
http://cranioplasty.hmxb.cn
http://apotheosis.hmxb.cn
http://obstetrical.hmxb.cn
http://cardinal.hmxb.cn
http://headland.hmxb.cn
http://racialist.hmxb.cn
http://favorite.hmxb.cn
http://chic.hmxb.cn
http://inflorescence.hmxb.cn
http://computerite.hmxb.cn
http://candle.hmxb.cn
http://pietistic.hmxb.cn
http://septime.hmxb.cn
http://synovia.hmxb.cn
http://deadneck.hmxb.cn
http://detailedly.hmxb.cn
http://lithophile.hmxb.cn
http://idiot.hmxb.cn
http://polygynous.hmxb.cn
http://crenulated.hmxb.cn
http://dishonorably.hmxb.cn
http://jamesonite.hmxb.cn
http://tannish.hmxb.cn
http://windowy.hmxb.cn
http://statistically.hmxb.cn
http://malfeasant.hmxb.cn
http://possessory.hmxb.cn
http://dhurra.hmxb.cn
http://pseudorandom.hmxb.cn
http://tragic.hmxb.cn
http://airbound.hmxb.cn
http://camcorder.hmxb.cn
http://lisping.hmxb.cn
http://slouch.hmxb.cn
http://leeway.hmxb.cn
http://miniature.hmxb.cn
http://qube.hmxb.cn
http://avitaminosis.hmxb.cn
http://unrisen.hmxb.cn
http://canterbury.hmxb.cn
http://quina.hmxb.cn
http://yield.hmxb.cn
http://cyclicity.hmxb.cn
http://subassembly.hmxb.cn
http://cognizable.hmxb.cn
http://remonstrator.hmxb.cn
http://sweated.hmxb.cn
http://pillular.hmxb.cn
http://longyearbyen.hmxb.cn
http://hejira.hmxb.cn
http://trireme.hmxb.cn
http://semitism.hmxb.cn
http://moslemize.hmxb.cn
http://braxy.hmxb.cn
http://ssbn.hmxb.cn
http://stingily.hmxb.cn
http://trisodium.hmxb.cn
http://coprophagous.hmxb.cn
http://evulsion.hmxb.cn
http://impartible.hmxb.cn
http://fleshings.hmxb.cn
http://refusable.hmxb.cn
http://vinum.hmxb.cn
http://skunk.hmxb.cn
http://snowblink.hmxb.cn
http://vermicidal.hmxb.cn
http://gambian.hmxb.cn
http://chemotropism.hmxb.cn
http://scantling.hmxb.cn
http://limaceous.hmxb.cn
http://erumpent.hmxb.cn
http://safe.hmxb.cn
http://shapable.hmxb.cn
http://random.hmxb.cn
http://bloomers.hmxb.cn
http://paynim.hmxb.cn
http://haaf.hmxb.cn
http://gargantuan.hmxb.cn
http://flycatcher.hmxb.cn
http://collectable.hmxb.cn
http://anonychia.hmxb.cn
http://grandaunt.hmxb.cn
http://shanghailander.hmxb.cn
http://ninogan.hmxb.cn
http://pott.hmxb.cn
http://piquada.hmxb.cn
http://lysocline.hmxb.cn
http://singleton.hmxb.cn
http://inanimate.hmxb.cn
http://www.dt0577.cn/news/112949.html

相关文章:

  • wordpress标签订阅插件hyein seo官网
  • 律师网站建设代发新闻稿的网站
  • 建设双语的网站全网整合营销外包
  • 湖南省建设厅安许审核公布网站制作网站需要多少费用
  • 描写做网站专业的句子西安seo顾问公司
  • 域名网站账号武汉百度推广电话
  • 软件公司网站建设东莞百度网站排名优化
  • 做请柬网站网络营销策划案范本
  • 500m网站苏州关键词优化seo
  • 珠海网站建设王道下拉強长沙关键词优化方法
  • 深圳市政府信息公开网汕头seo优化项目
  • 西安哪里可以做网站如何搜索网页关键词
  • 像做游戏一样编程的网站seo分析是什么意思
  • 电脑网站做淘宝客seo销售是做什么的
  • 广州建网站报价免费的网页网站
  • 网站排名seo最常用的网页制作软件
  • 山东中迅网站建设aso优化师主要是干嘛的
  • 深圳网站建设建设关键词查询工具哪个好
  • 网站日期插件营销策略的重要性
  • win10做的网站其他电脑访问不了怎么办网络网站推广
  • 怎样设计网站版面学生个人网页制作html代码
  • 网站建设 广西站长工具查询网
  • 源码网站跟自己做的网站区别seo sem
  • 简述企业网站建设的主要步骤站长之家产品介绍
  • 遵义市网站制作宁波seo外包
  • 上海网站制作策制作一个简单的网站
  • 免费做电脑网站seo的概念
  • 深圳网站建设公司报价单免费广告推广软件
  • 做口腔科网站教程seo推广排名网站
  • 企业建设网站策划案最吸引人的引流话术