我有一个作曲家。包含内容的json:
{
"require":{
"paypal/rest-api-sdk-php": "*"
}
}
尝试通过以下命令安装composer时composer install
,
我收到以下错误消息:
无法将您的需求解析为可安装的软件包集。
完整的错误日志:
Problem 1
- paypal/rest-api-sdk-php v1.7.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.7.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.6.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.6.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.6.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.6.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.6.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.5.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.5.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.4.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.3.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.3.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.3.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.1.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v1.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.9.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.8.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.7.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.7.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.6.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.16.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.16.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.15.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.15.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.14.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.14.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.14.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.13.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.13.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.13.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.12.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.11.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.11.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php v0.10.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php V0.5.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.9.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.8.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.7.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.7.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.7.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.11.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- paypal/rest-api-sdk-php 1.10.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for paypal/rest-api-sdk-php * -> satisfiable by paypal/rest-api-sdk-php[1.10.0, 1.11.0, 1.7.2, 1.7.3, 1.7.4, 1.8.0, 1.9.0, V0.5.0, v0.10.0, v0.11.0, v0.11.1, v0.12.0, v0.13.0, v0.13.1, v0.13.2, v0.14.0, v0.14.1, v0.14.2, v0.15.0, v0.15.1, v0.16.0, v0.16.1, v0.6.0, v0.7.0, v0.7.1, v0.8.0, v0.8.1, v0.8.2, v0.8.3, v0.8.4, v0.8.5, v0.8.6, v0.9.0, v1.0.0, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v1.3.0, v1.3.1, v1.3.2, v1.4.0, v1.5.0, v1.5.1, v1.6.0, v1.6.1, v1.6.2, v1.6.3, v1.6.4, v1.7.0, v1.7.1].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-mysqli.ini
- /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
我是新来的。我错过了什么?
php安装中缺少curl扩展。您需要通过运行以下命令来安装它:
sudo apt-get install php7.0-curl
然后这个错误就会消失。
我正在开发一个应用程序,如果我从android studio运行到我的设备上,它绝对运行良好。如果我将我的apk放入google drive并与其他人共享,它会显示错误< code >(“Android apk安装失败。安装包错误,无法安装。)当他们尝试安装应用程序时。不是署名的apk。它仍处于原型阶段(调试模式)。 请让我知道我哪里做错了。
问题内容: 我正在尝试使用goinstall github.com/hoisie/web.go 安装web.go,但我不断收到有关该路径的错误。 goinstall确实可以正常工作,因为当我只输入goinstall时,我会得到它的选项列表。关于我在做什么错的任何想法吗? 都会 问题答案: 您需要安装git(http://git-scm.com)才能从git存储库中获取软件包。 干杯, 法比安
我使用Linux Mint,我想安装sass。我已经通过“sudo apt install ruby”2.3版安装了ruby,然后,当我想通过“sudo gem install sass-no user install”安装sass时,我出现了以下错误:
我正在运行npm来安装mnodesql,这是一个用于sql服务器驱动程序的npm库。我安装这个Windows Server 2012盒。 我已经安装了Visual C 2010、node gyp和Python 2.7.x.x作为依赖项,所有这些安装都是成功的。 当我运行npm install msnodesql时,我得到一个红色的大错误: (x86)\MSBuild\Microsoft.Cpp\v
问题内容: 当我给出命令时,它引发以下错误。在Ubuntu机器上 我也试过 没事。 问题答案: Node非常容易手动安装。我也喜欢这样做,因为切换版本真的很容易。 这也很棒,因为您无需向添加一些外部软件包存储库,并且在节点发布新版本时不必等待这些存储库更新。您可以在发布更新后立即获得更新。 最好的部分是,您可以对其他任何版本的节点重复该模式,随时更改符号链接以切换您正在运行的版本,然后您就可以开始
我正在执行< code > pip install setup tools-upgrade ,但出现以下错误 我错过了什么?我也尝试了sudo pip安装,但没有帮助。
问题内容: 我正在通过sudo npm install ionic -g安装ionic 并得到以下错误 离子论坛中也列出了该问题:-https: //forum.ionicframework.com/t/installing-ionic-not- successful-solved/36050/7 我曾尝试多次更改节点,npm,cordova版本,但是每次遇到此错误时,我都认为这与版本无关。在某些
问题内容: 我一直在寻找解决方案已有两天,无法在Windows 8.1系统上设置Phonegap。 每当我尝试通过npm安装Phonegap时,都会收到我认为与Cordova(-lib)有关的错误。 要安装Phonegap,我必须在系统上安装Node.js(v0.10.28)。此后,我打开了Windows Powershell,并按照Phonegap网站上的指示发出了以下命令: 输出:( 这是错误