错误:找不到满足panda要求的版本(来自fuzzytm)(来自版本:none)



我已经创建了我的包的新版本,并使用将其上传到Pypi的测试服务器

python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

为了测试它是否有效,我用Python 3.8创建了一个新的虚拟环境,并运行:

pip install -i https://test.pypi.org/simple/ FuzzyTM==0.5.0
(test-pypi) C:UsersEmilsurfdrivePhD3. Python ScriptsGitHubFuzzyTM>pip install -i https://test.pypi.org/simple/ FuzzyTM==0.5.0
Looking in indexes: https://test.pypi.org/simple/
Collecting FuzzyTM==0.5.0
Using cached https://test-files.pythonhosted.org/packages/26/8f/7de980d5c61556e96e5277abe687f77a40cc967a8a618f0e5fc08470b492/FuzzyTM-0.5.0-py3-none-any.whl (28 kB)
Collecting pyfume
Using cached https://test-files.pythonhosted.org/packages/48/9e/52632652961866263f1b61b7f8c55c50992696e3cde224617a7563287d94/pyFUME-0.1.1-py3-none-any.whl (35 kB)
ERROR: Could not find a version that satisfies the requirement pandas (from fuzzytm) (from versions: none)
ERROR: No matching distribution found for pandas

导致此错误的原因是什么?我能做些什么来克服它呢?

我遇到了同样的问题。问题是pandas在TestPypi中没有发布,只有在Pypi中。您需要为依赖项指定索引。

解决方案就在这里。

最新更新