我正在尝试基于requirements.txt创建conda环境:
运行命令:
conda create --name kafka-consumer --file requirements.txt
返回错误:
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- confluent-kafka[version='>=1.4.2']
来自的requirements.txthttps://github.com/confluentinc/examples/blob/latest/clients/cloud/python/requirements.txt
包含:
requests
certifi
confluent-kafka[avro,json,protobuf]>=1.4.2
如何发现我需要添加哪个频道?
1条答案
按热度按时间c2e8gylq1#
从https://anaconda.org/conda-forge/python-confluent-kafka/ 使用下列方法之一: