Coder-Spirit / Jupyter-PHP

A PHP Kernel for Jupyter
MIT License
221 stars 33 forks source link

Error on "Writing composer.json" #33

Open lxrmido opened 3 years ago

lxrmido commented 3 years ago

php ./jupyter-php-installer.phar install -vvv

Writing composer.json

[Composer\Json\JsonValidationException] "./composer.json" does not match the expected JSON schema:

kasuganosora commented 3 years ago

[Composer\Json\JsonValidationException] "./composer.json" does not match the expected JSON schema:

rodrigopedra commented 3 years ago

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.