Giter Club home page Giter Club logo

Comments (6)

adojaan avatar adojaan commented on September 1, 2024 1

Thank you for the answer. sudo was needed. Although "composer" itself worked normally with regular user, this particular installation needed sudo. Sorry for confusion.

from jupyter-php.

FinlayDaG33k avatar FinlayDaG33k commented on September 1, 2024

Have you installed Composer?

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

source: https://getcomposer.org/download/

from jupyter-php.

castarco avatar castarco commented on September 1, 2024

@kungfooman This is something that could be solved, but should be reported in the issue tracker of the installer.

In any case, @FinlayDaG33k provided you a simple solution.

P.D.: I'm working on a "workspaces" feature, and my next step is to dockerize this software in order to make easier its usage.

from jupyter-php.

adojaan avatar adojaan commented on September 1, 2024

Similar error when trying to install jupyter-php-installer. Composer is installed and command "composer" returns normal output. But

./jupyter-php-installer.phar install
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
ERROR: Unable to find the composer executable.

from jupyter-php.

FinlayDaG33k avatar FinlayDaG33k commented on September 1, 2024

That error looks more like there is something else going on with the installer.

from jupyter-php.

FinlayDaG33k avatar FinlayDaG33k commented on September 1, 2024

Can happen :>
have fun!

from jupyter-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.