我试图安装Fitz模块使用pip,但它一直运行到一个错误。
错误如下:
ERROR: Command errored out with exit status 1:
command: 'c:\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-tmyrjdld\\traits\\setup.py'"'"'; __file__='"'"'C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-tmyrjdld\\traits\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-record-8xivofby\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python37\Include\traits'
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-tmyrjdld\traits\
Complete output (188 lines):
Reading version file C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-tmyrjdld\traits\traits\version.py
Package version from version file: ('6.0.0', '9349ab9c55f7831b7c8e636d66d8a145b64f6070')
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\traits
copying traits\api.py -> build\lib.win-amd64-3.7\traits
copying traits\base_trait_handler.py -> build\lib.win-amd64-3.7\traits
copying traits\constants.py -> build\lib.win-amd64-3.7\traits
copying traits\ctrait.py -> build\lib.win-amd64-3.7\traits
copying traits\editor_factories.py -> build\lib.win-amd64-3.7\traits
copying traits\has_traits.py -> build\lib.win-amd64-3.7\traits
copying traits\interface_checker.py -> build\lib.win-amd64-3.7\traits
copying traits\traits.py -> build\lib.win-amd64-3.7\traits
copying traits\traits_listener.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_base.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_converters.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_dict_object.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_errors.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_factory.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_handler.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_handlers.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_list_object.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_notifiers.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_numeric.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_set_object.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_type.py -> build\lib.win-amd64-3.7\traits
copying traits\trait_types.py -> build\lib.win-amd64-3.7\traits
copying traits\version.py -> build\lib.win-amd64-3.7\traits
copying traits\__init__.py -> build\lib.win-amd64-3.7\traits
creating build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\adaptation_error.py -> build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\adaptation_manager.py -> build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\adaptation_offer.py -> build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\adapter.py -> build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\api.py -> build\lib.win-amd64-3.7\traits\adaptation
copying traits\adaptation\__init__.py -> build\lib.win-amd64-3.7\traits\adaptation
creating build\lib.win-amd64-3.7\traits\etsconfig
copying traits\etsconfig\api.py -> build\lib.win-amd64-3.7\traits\etsconfig
copying traits\etsconfig\etsconfig.py -> build\lib.win-amd64-3.7\traits\etsconfig
copying traits\etsconfig\__init__.py -> build\lib.win-amd64-3.7\traits\etsconfig
creating build\lib.win-amd64-3.7\traits\testing
copying traits\testing\api.py -> build\lib.win-amd64-3.7\traits\testing
copying traits\testing\doctest_tools.py -> build\lib.win-amd64-3.7\traits\testing
copying traits\testing\nose_tools.py -> build\lib.win-amd64-3.7\traits\testing
copying traits\testing\optional_dependencies.py -> build\lib.win-amd64-3.7\traits\testing
copying traits\testing\unittest_tools.py -> build\lib.win-amd64-3.7\traits\testing
copying traits\testing\__init__.py -> build\lib.win-amd64-3.7\traits\testing
creating build\lib.win-amd64-3.7\traits\tests
copying traits\tests\check_timing.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_abc.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_anytrait_static_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_array.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_array_or_none.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_automatic_adaptation.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_bool.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_callable.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_class_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_clone.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_configure_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_constants.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_container_events.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_copyable_trait_names.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_copy_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_ctraits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_cythonized_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_delegate.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_deprecated_handlers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_dict.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_directory.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_dynamic_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_dynamic_trait_definition.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_editor_factories.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_enum.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_event_order.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_extended_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_extended_trait_change.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_file.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_float.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_float_range.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_get_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_has_required_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_has_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_historical_unpickling.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_integer.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_integer_range.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_interfaces.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_interface_checker.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_int_range_long.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_keyword_args.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_list.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_listeners.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_list_events.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_long_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_new_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_pickle_validated_dict.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_property_delete.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_property_notifications.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_range.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_regression.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_rich_compare.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_special_event_handlers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_static_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_string.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_str_handler.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_sync_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_target.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_base.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_change_event_tracer.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_converters.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_cycle.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_default_initializer.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_exceptions.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_get_set.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_list_dict.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_prefix_list.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_trait_types.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_tuple.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_type.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_ui_notifiers.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_undefined.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_unicode_traits.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_uuid.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_validated_tuple.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_version.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_view_elements.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\test_weak_ref.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\tuple_test_mixin.py -> build\lib.win-amd64-3.7\traits\tests
copying traits\tests\__init__.py -> build\lib.win-amd64-3.7\traits\tests
creating build\lib.win-amd64-3.7\traits\util
copying traits\util\api.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\async_trait_wait.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\camel_case.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\clean_strings.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\deprecated.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\event_tracer.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\home_directory.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\import_symbol.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\resource.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\toposort.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\trait_documenter.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\weakiddict.py -> build\lib.win-amd64-3.7\traits\util
copying traits\util\__init__.py -> build\lib.win-amd64-3.7\traits\util
creating build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\abc_examples.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\benchmark.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\interface_examples.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\lazy_examples.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\test_adaptation_manager.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\test_adaptation_offer.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\test_adapter.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\test_global_adaptation_manager.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
copying traits\adaptation\tests\__init__.py -> build\lib.win-amd64-3.7\traits\adaptation\tests
creating build\lib.win-amd64-3.7\traits\etsconfig\tests
copying traits\etsconfig\tests\test_etsconfig.py -> build\lib.win-amd64-3.7\traits\etsconfig\tests
copying traits\etsconfig\tests\__init__.py -> build\lib.win-amd64-3.7\traits\etsconfig\tests
creating build\lib.win-amd64-3.7\traits\testing\tests
copying traits\testing\tests\test_optional_dependencies.py -> build\lib.win-amd64-3.7\traits\testing\tests
copying traits\testing\tests\test_unittest_tools.py -> build\lib.win-amd64-3.7\traits\testing\tests
copying traits\testing\tests\__init__.py -> build\lib.win-amd64-3.7\traits\testing\tests
creating build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_async_trait_wait.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_camel_case.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_clean_strings.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_deprecated.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_import_symbol.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_message_records.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_record_containers.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_record_events.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_trait_documenter.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\test_weakidddict.py -> build\lib.win-amd64-3.7\traits\util\tests
copying traits\util\tests\__init__.py -> build\lib.win-amd64-3.7\traits\util\tests
creating build\lib.win-amd64-3.7\traits\tests\test-data
creating build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\README -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p0-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p1-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p2-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p3-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p4-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\hipt-t5.2.0-p5-float-ctrait.pkl -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
copying traits\tests\test-data\historical-pickles\generate_pickles.py -> build\lib.win-amd64-3.7\traits\tests\test-data\historical-pickles
running build_ext
building 'traits.ctraits' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
错误:命令在退出状态1时出错:'c:\python37\python.exe'-u-c'导入sys,setupols,令牌化;sys.argv[0] = '"'"'C:\用户\公共\文档\Wondershare\CreatorTemp\pip-Instet-tmyrjdld\setup.py'"'"'; file='"'"'C:\用户\公共\文档\Wondershare\CreatorTemp\pip-Instet-tmyrjdld\特性\setup.py '"'"';f=getattr(令牌化, '"'"'打开'"'"', 打开)(file); code=f.read()。\r\n'"'"', '"'"'\n'"'"'); f.close(); exec(编译(代码,文件, '"'"'exec'"'"'))' 安装-记录'C:\用户\公共\文档\Wondershare\CreatorTemp\pip-recage-8xivofby\install-record.txt'-+单一版本-外部管理-编译-安装-标题'c:\python37\包括\特征'检查日志以获得完整的命令输出。
由于错误状态,您需要安装14.0版本的c.在下面的链接下载它,然后再试一次
错误:需要Microsoft Visual C 14.0。使用“Microsoft Visual C构建工具”获取它:https://visualstudio.microsoft.com/downloads/
我试图使用pip安装django-heroku,但它总是遇到一个错误。 我看到一些建议告诉我要确保Heroku中的Python版本是最新的。我已经这么做了。在推到Heroku master后,我运行了install命令,但它给了我以下错误。 错误:
我在mac os X Mojave 10.14.6上运行。我是一个命令行新手,我很迷茫。我看到这篇文章,并使用brew安装postgresql,但这似乎并没有解决我的任何问题。
问题内容: 我正在尝试使用pip安装django-heroku,但它始终会遇到错误。 我看到了一些建议,告诉我确保Heroku中的Python版本是最新的。我已经做到了。推送到Heroku master之后,我运行了install命令,但是它给了我以下错误。 错误: 问题答案: 您需要添加包含可执行文件 pg_config 的包。 先前的答案应该包含您需要的详细信息: 找不到pg_config可执
我在windows命令提示符下键入以下命令:pip install jupyterlab 我收到以下错误:
我是在尝试 但是我有一个错误 使用缓存的PyAudio-0.2.11.tar.gz(37 kB)安装收集的软件包:pyaudio运行setup.py为pyaudio安装:开始运行setup.py为pyaudio安装:完成,状态为“错误” 错误:命令出错,退出状态为1:' C:\ Users \ Admin \ PycharmProjects \ AI \ venv \ Scripts \ pyth
我的命令提示符出错了。我从Jupyter尝试了,但出现了一些错误。我感谢任何查看或回答的人,感谢您的时间!