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

手机微网站 模板毕业设计网站开发的目的和意义

手机微网站 模板,毕业设计网站开发的目的和意义,无锡网站维护,福田网站建设的工具本地环境中已经有太多的工作配置了#xff08;Python、Java、Maven、Docker 等等#xff09;#xff0c;为了不影响其他环境运行#xff0c;我选择直接在 VSCode 中创建工作空间并配置好 AutoKeras#xff08;反正最后也是要在 VSCode 中进行开发的#xff09;。 打开 V…本地环境中已经有太多的工作配置了Python、Java、Maven、Docker 等等为了不影响其他环境运行我选择直接在 VSCode 中创建工作空间并配置好 AutoKeras反正最后也是要在 VSCode 中进行开发的。 打开 VSCode 后先创建一个工作区然后在终端运行以下代码 python3 -m venv autokeras-env这段代码会在工作区创建一个名为 autokeras-env 的工作环境之后所有 autokeras 插件都在这个工作环境里面安装。接下来就要在终端中执行以下代码激活 autokeras-env 环境 source autokeras-env/bin/activate当终端上出现了以下输出后 MacBook-Pro:python yuanzhenhui$ python3 -m venv autokeras-env MacBook-Pro:python yuanzhenhui$ source autokeras-env/bin/activate (autokeras-env) MacBook-Pro:python yuanzhenhui$就证明已经切换完毕了接下来就可以去安装 autokeras 插件了。 pip install autokeras在第一次安装的时候或许会出现这样的报错如下图 ... Collecting grpcio2.0,1.24.3Downloading grpcio-1.59.2.tar.gz (24.8 MB)|████████████████████████████████| 24.8 MB 2.1 MB/s ERROR: Command errored out with exit status 1:command: /Users/yuanzhenhui/Documents/code_space/git/processing/python/autokeras-env/bin/python3 -c import sys, setuptools, tokenize; sys.argv[0] /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/setup.py; __file__/private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/setup.py;fgetattr(tokenize, open, open)(__file__);codef.read().replace(\r\n, \n);f.close();exec(compile(code, __file__, exec)) egg_info --egg-base /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-pip-egg-info-nbp93pfccwd: /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/Complete output (9 lines):Traceback (most recent call last):File string, line 1, in moduleFile /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/setup.py, line 95, in moduleimport commandsFile /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/src/python/grpcio/commands.py, line 31, in moduleimport supportFile /private/var/folders/74/mmb55nf927x36pb3bv43_zd40000gn/T/pip-install-rtnah99l/grpcio/src/python/grpcio/support.py, line 111, in moduleerrors.CompileError: diagnose_compile_error,AttributeError: module setuptools.errors has no attribute CompileError---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. WARNING: You are using pip version 20.2.1; however, version 23.3.1 is available. You should consider upgrading via the /Users/yuanzhenhui/Documents/code_space/git/processing/python/autokeras-env/bin/python3 -m pip install --upgrade pip command.从上面的提示得知若遇到这样的报错只需要重新安装一下 pip 应该就可以了。如下图 (autokeras-env) MacBook-Pro:python yuanzhenhui$ python3 -m pip install --upgrade pip Collecting pipUsing cached pip-23.3.1-py3-none-any.whl (2.1 MB) Installing collected packages: pipAttempting uninstall: pipFound existing installation: pip 20.2.1Uninstalling pip-20.2.1:Successfully uninstalled pip-20.2.1 Successfully installed pip-23.3.1之后再重新执行 pip install autokeras (autokeras-env) MacBook-Pro:python yuanzhenhui$ pip install autokeras Collecting autokerasUsing cached autokeras-1.1.0-py3-none-any.whl (148 kB) Collecting packaging (from autokeras)Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB) ...Downloading tensorflow-2.13.1-cp38-cp38-macosx_10_15_x86_64.whl (216.2 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.2/216.2 MB 150.3 kB/s eta 0:00:00 Using cached packaging-23.2-py3-none-any.whl (53 kB) Downloading pandas-2.0.3-cp38-cp38-macosx_10_9_x86_64.whl (11.7 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 124.0 kB/s eta 0:00:00 Using cached absl_py-2.0.0-py3-none-any.whl (130 kB) Using cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB) Downloading grpcio-1.59.2-cp38-cp38-macosx_10_10_universal2.whl (9.6 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 251.9 kB/s eta 0:00:00 Downloading h5py-3.10.0-cp38-cp38-macosx_10_9_x86_64.whl (3.2 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 2.8 MB/s eta 0:00:00 ... Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB) Downloading MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_x86_64.whl (13 kB) Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB) Installing collected packages: pytz, namex, libclang, kt-legacy, flatbuffers, dm-tree, zipp, wrapt, wheel, urllib3, tzdata, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard-data-server, six, regex, pygments, pyasn1, protobuf, packaging, oauthlib, numpy, mdurl, MarkupSafe, keras, idna, grpcio, gast, charset-normalizer, certifi, cachetools, absl-py, werkzeug, rsa, requests, python-dateutil, pyasn1-modules, opt-einsum, markdown-it-py, importlib-metadata, h5py, google-pasta, astunparse, rich, requests-oauthlib, pandas, markdown, google-auth, keras-core, google-auth-oauthlib, tensorboard, keras-tuner, keras-nlp, tensorflow, autokeras Successfully installed MarkupSafe-2.1.3 absl-py-2.0.0 astunparse-1.6.3 autokeras-1.1.0 cachetools-5.3.2 certifi-2023.7.22 charset-normalizer-3.3.1 dm-tree-0.1.8 flatbuffers-23.5.26 gast-0.4.0 google-auth-2.23.3 google-auth-oauthlib-1.0.0 google-pasta-0.2.0 grpcio-1.59.2 h5py-3.10.0 idna-3.4 importlib-metadata-6.8.0 keras-2.13.1 keras-core-0.1.5 keras-nlp-0.6.1 keras-tuner-1.4.5 kt-legacy-1.0.5 libclang-16.0.6 markdown-3.5 markdown-it-py-3.0.0 mdurl-0.1.2 namex-0.0.7 numpy-1.24.3 oauthlib-3.2.2 opt-einsum-3.3.0 packaging-23.2 pandas-2.0.3 protobuf-4.24.4 pyasn1-0.5.0 pyasn1-modules-0.3.0 pygments-2.16.1 python-dateutil-2.8.2 pytz-2023.3.post1 regex-2023.10.3 requests-2.31.0 requests-oauthlib-1.3.1 rich-13.6.0 rsa-4.9 six-1.16.0 tensorboard-2.13.0 tensorboard-data-server-0.7.2 tensorflow-2.13.1 tensorflow-estimator-2.13.0 tensorflow-io-gcs-filesystem-0.34.0 termcolor-2.3.0 typing-extensions-4.5.0 tzdata-2023.3 urllib3-2.0.7 werkzeug-3.0.1 wheel-0.41.3 wrapt-1.15.0 zipp-3.17.0之后我们可以通过以下命令查看已经安装的 keras 的版本来确定是否已经正常安装了 (autokeras-env) MacBook-Pro:autokeras-env yuanzhenhui$ python Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39) [Clang 6.0 (clang-600.0.57)] on darwin Type help, copyright, credits or license for more information.import keras 2023-11-01 10:26:26.153780: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.print(keras.__version__) 2.13.1至此基础安装已完成。
http://www.sadfv.cn/news/279441/

相关文章:

  • 天津网站制作维护福田做网站价格
  • Wordpress 微博 链接深圳网站优化指导
  • 网站左侧悬浮优享购物官方网站
  • php源码搭建网站流程用别人的电影网站做公众号
  • 国企网站建设报告新片场视频素材
  • 市住建设局网站网站维护 年费
  • 常用的网站类型有哪些飞沐视觉北京网站建设公司
  • 小程序有哪些开发平台seo顾问赚钱吗
  • 企业手机网站程序是什么深圳宝安区哪里好玩
  • 上林县建设局网站携程网的网站推广方式
  • 制作网站备案幕布建设一个网站平台的费用吗
  • 网络推广平台哪个好杭州网站优化搜索
  • 厦门建设工程招标中心网站如何将优酷视频上传到自己网站
  • 扁平化网站设计欣赏如何创建外卖网站
  • 武安做网站wordpress分享计数
  • 成都网站设计合理柚v米科技h5编辑器免费版
  • 安国市住房和城乡建设局网站shopnc本地生活o2o网站源码
  • 遂宁商城网站建设蛋糕网站内容规划
  • 北京建站公司哪家好都选万维科技廉政网站建设
  • 福安 网站建设电子商务网站后台模板
  • 买了一个域名怎么做网站邵阳建设局网站
  • 重庆网站建设公司建站模板云南专业建网站
  • 高清做网站插图杭州设计公司乌海
  • 模板网站怎么优化四川网站建设网站制作
  • 手机网站特点dede宠物网站模板
  • 建站合同模板joomla做的网站
  • 羊坊店网站建设wordpress页面去掉标题
  • 临湘网站重庆网红景点排名
  • 网站建设及政务公开工作总结排名前十的大学
  • 绍兴网站设计公司某网站搜索引擎优化