我尝试通过pipenv
安装venv
。我通常使用python ccxt.pro
模块创建虚拟环境,但我也尝试使用pipenv。
在pipenv
documentation中,应通过https或ssh上的pip3安装软件包。通过github用户名和密码,我可以安装它。
当我尝试通过Installation Failed
安装此库时,收到pipenv install git+https://github.com/kroitor/ccxt.pro.git#subdirectory=python
Installing git+https://github.com/kroitor/ccxt.pro.git#subdirectory=python…
WARNING: pipenv requires an #egg fragment for version controlled dependencies. Please
install remote dependency in the form git+https://github.com/kroitor/ccxt.pro.git#egg=<package-name>.
✘ Installation Failed
错误:
Installing...
我从setup.py安装了所有依赖项,但问题仍然存在。 Triead申请了this,但被卡在pip install
上。
问题:
void main() {
List<Map<String, dynamic>> person = [
{"id": "01", "name": "Tony"},
{"id": "02", "name": "Stark"}
];
final ids = person.map((m) => m["id"]).toList();
print(ids); // [01, 02]
}
命令那样安装它?