- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用最新版本的诗歌 (1.1.10) 并且在尝试更新我的锁定文件时,在尝试安装 pycparser==2.20 时遇到了错误:
Writing lock file
Package operations: 65 installs, 0 updates, 0 removals
• Installing pycparser (2.20)
ValueError
File \C:\Users\user\AppData\Local\pypoetry\Cache\artifacts\3b\b4\2e\87ea123a592747e6f6c798c66837974694db0bca4783357f71718a538d\pycparser-2.20-py2.py3-none-any.whl does not exist
at c:\users\boris\miniconda3\envs\project\lib\site-packages\poetry\core\packages\file_dependency.py:40 in __init__
36│ except FileNotFoundError:
37│ raise ValueError("Directory {} does not exist".format(self._path))
38│
39│ if not self._full_path.exists():
→ 40│ raise ValueError("File {} does not exist".format(self._path))
41│
42│ if self._full_path.is_dir():
43│ raise ValueError("{} is a directory, expected a file".format(self._path))
我尝试更改我的诗歌版本以及 pycparser 的版本,但这似乎只会破坏其他软件包。以前有没有人处理过这个问题,如果有,你能指出我正确的方向吗?
最佳答案
我遇到了同样的问题,通过删除 Poetry 缓存文件夹解决了这个问题:C:\Users\user\AppData\Local\pypoetry
关于python-3.6 - 如何使用诗歌解决这个 pycparser 安装错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69311692/
我使用诗歌构建我的 cython 包。我在所有函数和类中都有 NumPy 风格的文档字符串。我现在要做的是添加 Sphinx 自动文档并发布在 Read the Docs。 我已阅读此主题 How d
我正在使用 poetry 来管理我的 python 项目的依赖项,我真的很喜欢它!目前我的项目的一个依赖项是来自内部库的轮子,因为它是内部的,所以必须从轮子安装。最近我对库做了一些更改,我想在我的项目
我使用 Poetry 构建带有 cython 扩展的包。现在我想为它编写测试(最好使用 nosetest)。问题是我需要预编译二进制文件,通常使用 setup.py build_clib build_
macOS Mojave 10.14.6Python 3.7.2 我像文档中那样安装了 python poetry: curl -sSL https://raw.githubusercontent.c
我正在尝试使用docker-compose建立一个docker文件,但出现错误: /bin/sh: 1: poetry: not found ERROR: Service 'web' failed t
我有一首诗,例如: Roses are red Violets are blue Sugar is sweet And so are you 只用/n 分隔我需要得到每
我是一名优秀的程序员,十分优秀!