npm install --global @leon-ai/cli and it's run successfully:
changed 213 packages in 27s
72 packages are looking for funding
run `npm fund` for details
Step 3:
run leon create birth in CLI
The current behavior:
Bug pop up when I run leon create birth or leon create birth --develop in CLI:
× Installing python 3.9.10
Error: Could not install python 3.9.10
For further information, look at the log file located at C:\Users\Admin\AppData\Roaming\@leon-ai\cli\Config\log-errors.txt
[Fri Jan 20 2023 20:46:45 GMT+0700 (Indochina Time)] [leon create birth] Could not install python 3.9.10
Error: Command failed with exit code 1: pyenv install 3.9.10
'pyenv' is not recognized as an internal or external command,
operable program or batch file.
And I try to install pyenv pip manually but error pop up:
pip install pyenv
Collecting pyenv
Using cached pyenv-0.0.1.tar.gz (1.4 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyenv
Building wheel for pyenv (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
running bdist_wheel
running build
C:\Users\Admin\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
installing to build\bdist.win-amd64\wheel
running install
############################ NOTE ############################
We are sorry, but this package is not installable with pip.
Please read the installation instructions at:
https://github.com/pyenv/pyenv#installation
##############################################################
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyenv
Running setup.py clean for pyenv
Failed to build pyenv
Installing collected packages: pyenv
Running setup.py install for pyenv ... error
error: subprocess-exited-with-error
× Running setup.py install for pyenv did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running install
C:\Users\Admin\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
############################ NOTE ############################
We are sorry, but this package is not installable with pip.
Please read the installation instructions at:
https://github.com/pyenv/pyenv#installation
##############################################################
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyenv
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Steps To Reproduce
(Im current use Win 10)
Node.js version: v19.4.0
Npm version: v9.2.0
Python version: v3.10.7
pipenv version: 2022.12.19
npm install --global @leon-ai/cli
and it's run successfully:leon create birth
in CLIThe current behavior:
Bug pop up when I run
leon create birth
orleon create birth --develop
in CLI:The expected behavior
Give birth to Leon successfully
Extra rss:
"C:\Users\Admin\AppData\Roaming\@leon-ai\cli\Config\log-errors.txt" log:
And I try to install pyenv pip manually but error pop up: