Jupyter-PHP
Jupyter-PHP copied to clipboard
Error on "Writing composer.json"
php ./jupyter-php-installer.phar install -vvv
Writing composer.json
[Composer\Json\JsonValidationException] "./composer.json" does not match the expected JSON schema:
- name : Does not match the regex pattern ^a-z0-9/a-z0-9$
[Composer\Json\JsonValidationException] "./composer.json" does not match the expected JSON schema:
- name : Does not match the regex pattern ^a-z0-9/a-z0-9$
Hi, just faced this installation issue yesterday.
I was using composer v2 by default, by changing composer to v1 installation went fine.
Check your composer version:
composer --version
If you are running v2, you can "update" (revert) to v1 by using this command:
composer self-update --1
Then install the Jupyter-PHP Kernel as usua:
php ./jupyter-php-installer.phar install
And if you prefer, after installing, revert back to v2 using this command:
composer self-update --2
Hope this helps.