- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在从事一个需要 pipenv
和 python 3.6 的项目。当我运行 pipenv sync
时,我收到了错误消息
An error occurred while installing django-markdown-deux==1.0.5 --hash=sha256:5b4a3cd9454af5b4cec0e19151b41d98d09400ddae0688afb81dbf62a4edafff! Will try again.
An error occurred while installing easy-thumbnails==2.7 --hash=sha256:e4e7a0dd4001f56bfd4058428f2c91eafe27d33ef3b8b33ac4e013b159b9ff91! Will try again.
以及出于隐私原因保留的私有(private)维护的库(我试图删除它,它没有帮助。)pipenv 然后尝试“安装最初失败的依赖项......”,然后喷出一堵类似的错误
[InstallError]: retcode = do_sync(
[InstallError]: File "/usr/local/lib/python3.8/dist-packages/pipenv/core.py", line 2884, in do_sync
[InstallError]: do_init(
[InstallError]: File "/usr/local/lib/python3.8/dist-packages/pipenv/core.py", line 1305, in do_init
[InstallError]: do_install_dependencies(
[InstallError]: File "/usr/local/lib/python3.8/dist-packages/pipenv/core.py", line 899, in do_install_dependencies
[InstallError]: batch_install(
[InstallError]: File "/usr/local/lib/python3.8/dist-packages/pipenv/core.py", line 796, in batch_install
[InstallError]: _cleanup_procs(procs, failed_deps_queue, retry=retry)
[InstallError]: File "/usr/local/lib/python3.8/dist-packages/pipenv/core.py", line 703, in _cleanup_procs
[InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: Looking in indexes: https://pypi.python.org/simple
[pipenv.exceptions.InstallError]: Collecting django-markdown-deux==1.0.5
[pipenv.exceptions.InstallError]: Using cached django-markdown-deux-1.0.5.zip (16 kB)
[pipenv.exceptions.InstallError]: Building wheels for collected packages: django-markdown-deux
[pipenv.exceptions.InstallError]: Building wheel for django-markdown-deux (setup.py): started
[pipenv.exceptions.InstallError]: Building wheel for django-markdown-deux (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]: command: /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-b1rphrl8
[pipenv.exceptions.InstallError]: cwd: /tmp/pip-install-7100f1_i/django-markdown-deux/
[pipenv.exceptions.InstallError]: Complete output (64 lines):
[pipenv.exceptions.InstallError]: running bdist_wheel
[pipenv.exceptions.InstallError]: running build
[pipenv.exceptions.InstallError]: running build_py
[pipenv.exceptions.InstallError]: creating build
[pipenv.exceptions.InstallError]: creating build/lib
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/__init__.py -> build/lib/markdown_deux
[pipenv.exceptions.InstallError]: running egg_info
[pipenv.exceptions.InstallError]: writing lib/django_markdown_deux.egg-info/PKG-INFO
[pipenv.exceptions.InstallError]: writing dependency_links to lib/django_markdown_deux.egg-info/dependency_links.txt
[pipenv.exceptions.InstallError]: writing requirements to lib/django_markdown_deux.egg-info/requires.txt
[pipenv.exceptions.InstallError]: writing top-level names to lib/django_markdown_deux.egg-info/top_level.txt
[pipenv.exceptions.InstallError]: reading manifest file 'lib/django_markdown_deux.egg-info/SOURCES.txt'
[pipenv.exceptions.InstallError]: reading manifest template 'MANIFEST.in'
[pipenv.exceptions.InstallError]: writing manifest file 'lib/django_markdown_deux.egg-info/SOURCES.txt'
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/conf/__init__.py -> build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/conf/settings.py -> build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templates
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templates/markdown_deux
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templates/markdown_deux/markdown_cheatsheet.html -> build/lib/markdown_deux/templates/markdown_deux
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templatetags/__init__.py -> build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templatetags/markdown_deux_tags.py -> build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: installing to build/bdist.linux-x86_64/wheel
[pipenv.exceptions.InstallError]: running install
[pipenv.exceptions.InstallError]: running install_lib
[pipenv.exceptions.InstallError]: Traceback (most recent call last):
[pipenv.exceptions.InstallError]: File "<string>", line 1, in <module>
[pipenv.exceptions.InstallError]: File "/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py", line 42, in <module>
[pipenv.exceptions.InstallError]: zip_safe=False,
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
[pipenv.exceptions.InstallError]: return distutils.core.setup(**attrs)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
[pipenv.exceptions.InstallError]: dist.run_commands()
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
[pipenv.exceptions.InstallError]: self.run_command(cmd)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
[pipenv.exceptions.InstallError]: cmd_obj.run()
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 259, in run
[pipenv.exceptions.InstallError]: self.run_command('install')
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
[pipenv.exceptions.InstallError]: self.distribution.run_command(command)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
[pipenv.exceptions.InstallError]: cmd_obj.run()
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
[pipenv.exceptions.InstallError]: return orig.install.run(self)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/command/install.py", line 557, in run
[pipenv.exceptions.InstallError]: self.run_command(cmd_name)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
[pipenv.exceptions.InstallError]: self.distribution.run_command(command)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 973, in run_command
[pipenv.exceptions.InstallError]: cmd_obj.ensure_finalized()
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 107, in ensure_finalized
[pipenv.exceptions.InstallError]: self.finalize_options()
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options
[pipenv.exceptions.InstallError]: self.set_undefined_options('install',('install_layout','install_layout'))
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 290, in set_undefined_options
[pipenv.exceptions.InstallError]: setattr(self, dst_option, getattr(src_cmd_obj, src_option))
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 103, in __getattr__
[pipenv.exceptions.InstallError]: raise AttributeError(attr)
[pipenv.exceptions.InstallError]: AttributeError: install_layout
[pipenv.exceptions.InstallError]: ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Failed building wheel for django-markdown-deux
[pipenv.exceptions.InstallError]: Running setup.py clean for django-markdown-deux
[pipenv.exceptions.InstallError]: Failed to build django-markdown-deux
[pipenv.exceptions.InstallError]: Installing collected packages: django-markdown-deux
[pipenv.exceptions.InstallError]: Running setup.py install for django-markdown-deux: started
[pipenv.exceptions.InstallError]: Running setup.py install for django-markdown-deux: finished with status 'error'
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]: command: /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_v1a0e1f/install-record.txt --single-version-externally-managed --compile --install-headers /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/include/site/python3.6/django-markdown-deux
[pipenv.exceptions.InstallError]: cwd: /tmp/pip-install-7100f1_i/django-markdown-deux/
[pipenv.exceptions.InstallError]: Complete output (56 lines):
[pipenv.exceptions.InstallError]: running install
[pipenv.exceptions.InstallError]: running build
[pipenv.exceptions.InstallError]: running build_py
[pipenv.exceptions.InstallError]: creating build
[pipenv.exceptions.InstallError]: creating build/lib
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/__init__.py -> build/lib/markdown_deux
[pipenv.exceptions.InstallError]: running egg_info
[pipenv.exceptions.InstallError]: writing lib/django_markdown_deux.egg-info/PKG-INFO
[pipenv.exceptions.InstallError]: writing dependency_links to lib/django_markdown_deux.egg-info/dependency_links.txt
[pipenv.exceptions.InstallError]: writing requirements to lib/django_markdown_deux.egg-info/requires.txt
[pipenv.exceptions.InstallError]: writing top-level names to lib/django_markdown_deux.egg-info/top_level.txt
[pipenv.exceptions.InstallError]: reading manifest file 'lib/django_markdown_deux.egg-info/SOURCES.txt'
[pipenv.exceptions.InstallError]: reading manifest template 'MANIFEST.in'
[pipenv.exceptions.InstallError]: writing manifest file 'lib/django_markdown_deux.egg-info/SOURCES.txt'
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/conf/__init__.py -> build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/conf/settings.py -> build/lib/markdown_deux/conf
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templates
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templates/markdown_deux
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templates/markdown_deux/markdown_cheatsheet.html -> build/lib/markdown_deux/templates/markdown_deux
[pipenv.exceptions.InstallError]: creating build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templatetags/__init__.py -> build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: copying lib/markdown_deux/templatetags/markdown_deux_tags.py -> build/lib/markdown_deux/templatetags
[pipenv.exceptions.InstallError]: warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: running install_lib
[pipenv.exceptions.InstallError]: Traceback (most recent call last):
[pipenv.exceptions.InstallError]: File "<string>", line 1, in <module>
[pipenv.exceptions.InstallError]: File "/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py", line 42, in <module>
[pipenv.exceptions.InstallError]: zip_safe=False,
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
[pipenv.exceptions.InstallError]: return distutils.core.setup(**attrs)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
[pipenv.exceptions.InstallError]: dist.run_commands()
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
[pipenv.exceptions.InstallError]: self.run_command(cmd)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
[pipenv.exceptions.InstallError]: cmd_obj.run()
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
[pipenv.exceptions.InstallError]: return orig.install.run(self)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/command/install.py", line 557, in run
[pipenv.exceptions.InstallError]: self.run_command(cmd_name)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
[pipenv.exceptions.InstallError]: self.distribution.run_command(command)
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 973, in run_command
[pipenv.exceptions.InstallError]: cmd_obj.ensure_finalized()
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 107, in ensure_finalized
[pipenv.exceptions.InstallError]: self.finalize_options()
[pipenv.exceptions.InstallError]: File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options
[pipenv.exceptions.InstallError]: self.set_undefined_options('install',('install_layout','install_layout'))
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 290, in set_undefined_options
[pipenv.exceptions.InstallError]: setattr(self, dst_option, getattr(src_cmd_obj, src_option))
[pipenv.exceptions.InstallError]: File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 103, in __getattr__
[pipenv.exceptions.InstallError]: raise AttributeError(attr)
[pipenv.exceptions.InstallError]: AttributeError: install_layout
[pipenv.exceptions.InstallError]: ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1: /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7100f1_i/django-markdown-deux/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_v1a0e1f/install-record.txt --single-version-externally-managed --compile --install-headers /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/include/site/python3.6/django-markdown-deux Check the logs for full command output.
当尝试通过 pipenv 安装 easy-thumbnails
时,也会出现此错误消息,格式略有不同。
Error text: Looking in indexes: https://pypi.python.org/simple
Collecting easy-thumbnails
Using cached easy-thumbnails-2.7.tar.gz (66 kB)
Requirement already satisfied, skipping upgrade: django<4.0,>=1.11 in /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages (from easy-thumbnails->-r /tmp/pipenv-9cou5x98-requirements/pipenv-phwkyn6c-requirement.txt (line 1)) (3.0.7)
Requirement already satisfied, skipping upgrade: pillow in /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages (from easy-thumbnails->-r /tmp/pipenv-9cou5x98-requirements/pipenv-phwkyn6c-requirement.txt (line 1)) (7.2.0)
Requirement already satisfied, skipping upgrade: asgiref~=3.2 in /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages (from django<4.0,>=1.11->easy-thumbnails->-r /tmp/pipenv-9cou5x98-requirements/pipenv-phwkyn6c-requirement.txt (line 1)) (3.2.10)
Requirement already satisfied, skipping upgrade: sqlparse>=0.2.2 in /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages (from django<4.0,>=1.11->easy-thumbnails->-r /tmp/pipenv-9cou5x98-requirements/pipenv-phwkyn6c-requirement.txt (line 1)) (0.3.1)
Requirement already satisfied, skipping upgrade: pytz in /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages (from django<4.0,>=1.11->easy-thumbnails->-r /tmp/pipenv-9cou5x98-requirements/pipenv-phwkyn6c-requirement.txt (line 1)) (2020.1)
Building wheels for collected packages: easy-thumbnails
Building wheel for easy-thumbnails (setup.py): started
Building wheel for easy-thumbnails (setup.py): finished with status 'error'
Running setup.py clean for easy-thumbnails
Failed to build easy-thumbnails
Installing collected packages: easy-thumbnails
Running setup.py install for easy-thumbnails: started
Running setup.py install for easy-thumbnails: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-042_z1b9/easy-thumbnails/setup.py'"'"'; __file__='"'"'/tmp/pip-install-042_z1b9/easy-thumbnails/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bx7dcid2
cwd: /tmp/pip-install-042_z1b9/easy-thumbnails/
Complete output (110 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/easy_thumbnails
copying easy_thumbnails/namers.py -> build/lib/easy_thumbnails
copying easy_thumbnails/get_version.py -> build/lib/easy_thumbnails
copying easy_thumbnails/signal_handlers.py -> build/lib/easy_thumbnails
copying easy_thumbnails/exceptions.py -> build/lib/easy_thumbnails
copying easy_thumbnails/alias.py -> build/lib/easy_thumbnails
copying easy_thumbnails/fields.py -> build/lib/easy_thumbnails
copying easy_thumbnails/__init__.py -> build/lib/easy_thumbnails
copying easy_thumbnails/models.py -> build/lib/easy_thumbnails
copying easy_thumbnails/utils.py -> build/lib/easy_thumbnails
copying easy_thumbnails/storage.py -> build/lib/easy_thumbnails
copying easy_thumbnails/widgets.py -> build/lib/easy_thumbnails
copying easy_thumbnails/source_generators.py -> build/lib/easy_thumbnails
copying easy_thumbnails/signals.py -> build/lib/easy_thumbnails
copying easy_thumbnails/processors.py -> build/lib/easy_thumbnails
... Character limit reached ....
copying easy_thumbnails/templatetags/__init__.py -> build/lib/easy_thumbnails/templatetags
copying easy_thumbnails/templatetags/thumbnail.py -> build/lib/easy_thumbnails/templatetags
creating build/lib/easy_thumbnails/optimize
copying easy_thumbnails/optimize/post_processor.py -> build/lib/easy_thumbnails/optimize
copying easy_thumbnails/optimize/__init__.py -> build/lib/easy_thumbnails/optimize
copying easy_thumbnails/optimize/conf.py -> build/lib/easy_thumbnails/optimize
creating build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_widgets.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_files.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_templatetags.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_aliases.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/mockoptim_fail.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_management.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/mockoptim.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/__init__.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/models.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_source_generators.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_engine.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_models.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/utils.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/settings.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_fields.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_processors.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/test_namers.py -> build/lib/easy_thumbnails/tests
copying easy_thumbnails/tests/apps.py -> build/lib/easy_thumbnails/tests
creating build/lib/easy_thumbnails/management
copying easy_thumbnails/management/__init__.py -> build/lib/easy_thumbnails/management
creating build/lib/easy_thumbnails/migrations
copying easy_thumbnails/migrations/__init__.py -> build/lib/easy_thumbnails/migrations
copying easy_thumbnails/migrations/0001_initial.py -> build/lib/easy_thumbnails/migrations
copying easy_thumbnails/migrations/0002_thumbnaildimensions.py -> build/lib/easy_thumbnails/migrations
creating build/lib/easy_thumbnails/management/commands
copying easy_thumbnails/management/commands/thumbnail_cleanup.py -> build/lib/easy_thumbnails/management/commands
copying easy_thumbnails/management/commands/__init__.py -> build/lib/easy_thumbnails/management/commands
running egg_info
writing easy_thumbnails.egg-info/PKG-INFO
writing dependency_links to easy_thumbnails.egg-info/dependency_links.txt
writing requirements to easy_thumbnails.egg-info/requires.txt
writing top-level names to easy_thumbnails.egg-info/top_level.txt
reading manifest file 'easy_thumbnails.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
no previously-included directories found matching 'docs/_build'
writing manifest file 'easy_thumbnails.egg-info/SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running install_lib
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-042_z1b9/easy-thumbnails/setup.py", line 76, in <module>
zip_safe=False,
File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/home/martin/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/home/martin/anaconda3/lib/python3.6/distutils/command/install.py", line 557, in run
self.run_command(cmd_name)
File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/martin/anaconda3/lib/python3.6/distutils/dist.py", line 973, in run_command
cmd_obj.ensure_finalized()
File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options
self.set_undefined_options('install',('install_layout','install_layout'))
File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 290, in set_undefined_options
setattr(self, dst_option, getattr(src_cmd_obj, src_option))
File "/home/martin/anaconda3/lib/python3.6/distutils/cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: install_layout
----------------------------------------
ERROR: Command errored out with exit status 1: /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-042_z1b9/easy-thumbnails/setup.py'"'"'; __file__='"'"'/tmp/pip-install-042_z1b9/easy-thumbnails/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8t5srbd7/install-record.txt --single-version-externally-managed --compile --install-headers /home/martin/.local/share/virtualenvs/nablaweb-2TimVObB/include/site/python3.6/easy-thumbnails Check the logs for full command output.
我有 pipenv 版本 2020.8.13,并尝试通过 pyenv 和 conda 安装几个不同版本的 python 3.6(4、12、11)。同样的错误仍然存在,而我们无法在其他系统上重现该错误。我正在使用 Ubuntu
最佳答案
我一直在与 moto 依赖作斗争:
pipenv run pip install --upgrade setuptools
修复了这个问题。
然后 pipenv 安装 moto
关于python-3.x - 为 python 3.6 安装包时 Pipenv 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63818993/
我使用的是 Xcode 8.2.1,我的 swift 版本是 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) 这是我的 package.swift 内容 imp
utils::install.packages似乎完全有能力安装缺少的依赖项。但是,如果由于某种原因(例如,尝试安装 DiagrammeR 、 Error: package ‘igraph’ was
好吧,第一次尝试编写 R 包,我被卡住了。这是我创建包的方式: package.skeleton("pkg",code_files=some.filenames) roxygenize("okg")
我正在构建一个 Atom 包,并尝试向用户显示项目列表。用户可以搜索这些项目并选择一个。我正在尝试制作一些看起来类似于下面的菜单的东西。 (来源:github-camo.com) 这有点像命令面板,只
我正在尝试使用找到的官方分步页面在 Ubuntu 18.04 上安装 Docker CE 18.03 here .我被困在第 4 步)sudo apt-get update .这就是我得到的: Hit
我们在公司内部针对解决方案设置了 CI。 构建总共花费了大约 13 分钟,这似乎有点太长了。经过一番挖掘,我发现我们没有将 /maxcpucount 开关传递给 msbuild 命令,因此每个项目都是
我正在尝试创建一系列 NuGet 包以在我的组织内本地使用。 我知道我可以创建源代码转换文件(即 MyModel.cs.pp)来帮助添加新源代码文件,即: namespace $rootnamespa
当我加载包含此类的 Monticello 包时,是否有特定的方法会在类中执行? 一个例子: 版本 1, SomeMonticelloPackage-MyName.1.mcz: Object subcl
我正在尝试使用 NuGet 核心创建一个 NuGet 包作为构建过程的一部分。构建过程会创建特定的框架版本 3.5、4.0 和 4.5。如何为每个程序集指定框架版本? public void Crea
这个问题在这里已经有了答案: Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application (7 个答案
我最近在 youtube ( https://pub.dev/packages/flutter_bloc ) 上观看了 felix Angelov 的 flutter_bloc 包 (https://
我有两个问题想找出解决方案: 我正在重命名 munin 2.0 包,并且在 RPM 的 SPEC 文件中,我必须废弃原始的 munin 包。 当替换现有的 1.x munin 包作为 munin-no
例如,在尝试安装 R 包时 curl作为 usethis 的依赖项: * installing *source* package ‘curl’ ... ** package ‘curl’ succes
我有一个尝试发送和接收对象的客户端/服务器程序。 一共有三个包:服务器、客户端和共享 shared 只包含 Message 类 我将共享包中的 Message.java 放入与 calcclient
所以我一直在尝试安装一个名为 igraph 的 R 包.最后,当它尝试加载包时,出现以下错误: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15'
我正在尝试安装 Magento 软件包,但我得到No file was uploaded 它来自此代码,因为 $_FILES 是 /downloader/Mged/Controller.php 中的空
我使用的是 Windows,当我想要安装软件包时,出现以下错误: pip install django Requirement already satisfied (use --upgrade to
每当我尝试为 iOS 设置 firebase 时,一切都会正常工作,直到我将“cloud_firestore:”包(或任何其他 FlutterFire 包)添加到 pubspec.yaml 文件夹中。
某些 R 包,例如 mgcv,无法使用 clang 10+ 从源代码编译(在 macOS 10.14 和 R 版本 3.6+ 下)。编译时报错为 ld: unknown option: -platfo
我制作了自己的 cabal 包(我们称之为 package-1),其中包含两个目标,一个库和一个可执行文件。库部分有一个构建依赖列表,而可执行文件有另一个更大的构建依赖列表。 现在我创建了 packa
我是一名优秀的程序员,十分优秀!