python-lambda: 'lambda' is not recognized as an internal or external command, operable program or batch file

百般思念 提交于 2019-12-13 04:34:14

问题


I am unable to install the lambda command using python-lambda. I did the following:

pip install python-lambda

and can confirm that it is available in my site-packages folder of my virtual environment. Nevertheless, when I write lambda init it returns:

'lambda' is not recognized as an internal or external command, operable program or batch file.

How can I get this working?


回答1:


If you're looking for the lambda I think you are, that package comes pre-installed. Try running some example code found here:

https://www.w3schools.com/python/python_lambda.asp



来源:https://stackoverflow.com/questions/54114519/python-lambda-lambda-is-not-recognized-as-an-internal-or-external-command-op

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!