Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 fun install --save 报错的问题 #907

Closed
Alexios-cd opened this issue May 9, 2020 · 0 comments · Fixed by #909
Closed

关于 fun install --save 报错的问题 #907

Alexios-cd opened this issue May 9, 2020 · 0 comments · Fixed by #909

Comments

@Alexios-cd
Copy link

Alexios-cd commented May 9, 2020

环境:
fun --version 3.6.12
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
问题:
在使用 fun install --runtime python3 --package-type pip pandas 可以正常将依赖安装到 .fun目录下。
在使用fun install --runtime python3 --package-type pip --save pandas 时按照官方文档描述会将命令持久化保存到 Funfile 文件中,但是 执行后 日志如下

`(base) {目录}>fun install --runtime python3 --package-type pip --save pandas
skip pulling image aliyunfc/runtime-python3.6:build-1.9.5...
Task => PipTask
=> PYTHONUSERBASE=/code/.fun/python pip install --user --upgrade pandas

save package install commnad to {目录}\Funfile
Cannot destructure property indexUrl of 'undefined' or 'null'.
出现异常 Cannot destructure propertyindexUrl` of 'undefined' or 'null'.

另外如果手动创建 Funfile 如下:

RUNTIME python3
RUN fun-install pip install pandas
RUN fun-install pip install pymysql

使用 fun install 是正常安装依赖的。

基于以上的情况,现在处于手动维护Funfile文件,希望可以解决--save时命令持久化保存到 Funfile 文件遇见的bug。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant