标签: install

安装python uinput时出错

我在尝试安装uinput时遇到错误我试过PIP和easy_install.我还尝试从tar包安装'manual'.我总是得到一个错误.以下是使用easy_install进行安装时出现的错误.

你能指导我如何解决它吗?

rpi@torpi ~/scripts $ sudo easy_install python-uinput
Searching for python-uinput
Reading http://pypi.python.org/simple/python-uinput/
Best match: python-uinput 0.10.2
Downloading https://pypi.python.org/packages/source/p/python-uinput/python-uinput-0.10.2.tar.gz#md5=abbbbfc50d03a0585a5231d9396f78bd
Processing python-uinput-0.10.2.tar.gz
Running python-uinput-0.10.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZWLsct/python-uinput-0.10.2/egg-dist-tmp-bPeztQ
/usr/bin/ld: cannot find libudev.so
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
Run Code Online (Sandbox Code Playgroud)

python install

0
推荐指数
1
解决办法
2118
查看次数

在Mac OS X Yosemite上安装Scrapy时出现异常

我正在尝试在运行Yosemite的Macbook Pro上安装Scrapy.我尝试通过在终端中运行以下命令来关注其网站上的文档以进行灌输.

pip install Scrapy

在灌输期间,抛出以下异常:

Exception:
    Traceback (most recent call last):
      File "/Library/Python/2.7/site-packages/pip-1.5.6 py2.7.egg/pip/basecommand.py", line 122, in main
        status = self.run(options, args)
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 671, in install
self.move_wheel_files(self.source_dir, root=root)
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 901, in move_wheel_files
pycompile=self.pycompile,
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/wheel.py", line 215, in move_wheel_files
clobber(source, lib_dir, True)
      File "/Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg/pip/wheel.py", line 205, in clobber
os.makedirs(destdir)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, …
Run Code Online (Sandbox Code Playgroud)

python macos installation install scrapy

0
推荐指数
1
解决办法
2143
查看次数

通过命令行在MySQL(Windows 8.1)上安装"Employees Sample Database"

我试图MySQL通过命令提示符安装'Employees示例数据库' .我已下载了employees_db-full-1.0.6.tar.bz2.我提取了相同内容并希望通过命令行安装它.我正在使用一Windows8.1台机器.

请帮助我使用正确的命令或任何其他方式(如果有的话).MySQL网站上的命令适用于Linux机器.它不适用于Windows.请帮忙.提前致谢.

mysql windows command-line install sample

0
推荐指数
1
解决办法
1702
查看次数

无法安装SQL Server 2012 Management Studio

我开始寻找产品更新,它只是扫描永远不会停止等待2个小时,没有所以我跳过这一步,然后转到下一个是安装设置文件,但它只是说"未启动"和绿色条只是移动和移动,没有任何错误或任何事情发生

sql install ssms sql-server-2012 windows-server-2012

0
推荐指数
2
解决办法
7072
查看次数

在Mac OS上安装C的LAPACK和BLAS库

我想从中下载可以在我的C程序中使用的LAPACK和BLAS库的说明/网站。我也想知道如何从终端将它们链接到gcc编译器。

c install blas lapack

0
推荐指数
1
解决办法
1万
查看次数

如何使用RVM安装Ruby 2.2.2

我跑了rvm -v,它返回rvm 1.29.1所以我跑去rvm install 2.2.2升级Ruby版本.

这显示了:

ruby-2.2.2 - #removing rubies/ruby-2.2.2..
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.2.2.tar.bz2
ruby-2.2.2 - #configure
ruby-2.2.2 - #download
ruby-2.2.2 - #validate archive
ruby-2.2.2 - #extract
ruby-2.2.2 - #validate binary
ruby-2.2.2 - #setup
ruby-2.2.2 - #gemset created /usr/local/rvm/gems/ruby-2.2.2@global
ruby-2.2.2 - #importing gemset /usr/local/rvm/gemsets/global.gems...............
ruby-2.2.2 - #generating global wrappers........
ruby-2.2.2 - #gemset created /usr/local/rvm/gems/ruby-2.2.2
ruby-2.2.2 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.2.2 …
Run Code Online (Sandbox Code Playgroud)

ruby install rvm

0
推荐指数
2
解决办法
8581
查看次数

如何使用PowerShell运行安装程序?

我正在尝试安装一个软件,当手动完成时,您可以在完成整个过程时选择配置选项.我试图找到一种使用PowerShell自动化的方法,但我仍然坚持如何设置这些配置选项.我相信我需要在安装程序.exe上运行start-process命令,但我不知道从那里去哪里.我可以使用start-process命令中的参数来传递我想要的配置吗?

powershell automation install windows-installer

0
推荐指数
1
解决办法
3655
查看次数

如何获得安装意图的结果?

在我的应用程序中,我从服务器下载apk并将其保存在设备上。该apk用于更新应用。如果下载完成,则提示用户使用以下代码进行下载:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
    Uri apkUri = FileProvider.getUriForFile(getApplicationContext(), BuildConfig.APPLICATION_ID + ".provider", updateAPK);
    Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
    intent.setData(apkUri);
    intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
    startActivity(intent);

} else {
    Uri apkUri = Uri.fromFile(updateAPK);
    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setDataAndType(apkUri, "application/vnd.android.package-archive");
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(intent);
}
Run Code Online (Sandbox Code Playgroud)

这可以正常工作,但是我的问题是:ist能否获得意图的结果,因此我可以检查用户是否取消了安装?

android install android-intent apk

0
推荐指数
1
解决办法
988
查看次数

无法在Windows 10上安装VB6 IDE

我在尝试在Windows 10上安装VB6时遇到了问题.我尝试了几个不同的安装程序和指南,但无论如何,我都无法启动 setup.exe

每当我开始它都没有任何事情发生.但是,当我检查Windows事件时,我看到安装程序退出错误代码:0xc0000005

我甚至尝试过外部安装助手,但它总是以同样的方式发生.我还安装前清理了我的注册表.

任何帮助都非常感谢.先感谢您!

vb6 install setup.exe windows-10

0
推荐指数
2
解决办法
2135
查看次数

npm install web3安装失败?未定义的ls远程

安装环境

WIN7 64位

I:\ nodejs>节点-v

v10.13.0

I:\ nodejs> npm -v

6.4.1

I:\ nodejs> npm安装web3

npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ??  WARNING ?? tar.gz module has been deprecated and your appli
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git
npm ERR!
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR!
npm ERR! Failed using git.
npm ERR! Please check …
Run Code Online (Sandbox Code Playgroud)

install node.js web3-donotuse

0
推荐指数
2
解决办法
5307
查看次数

如何在没有pha​​r支持的情况下在PHP 5.2.8上安装symfony(Composer依赖)?

我一直试图在我的网站上安装symfony但是我没有取得什么成功,因为它取决于作曲家.

安装:

php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
Run Code Online (Sandbox Code Playgroud)

当我尝试安装时(所有安装选项似乎都需要phar支持)我得到了这个输出:

-----------------------------------------------------------
Warning: Unexpected character in input:  '\' (ASCII=92) state=1 in Command line code(1) : eval()'d code on line 378
#!/usr/bin/env php
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

The phar extension is missing.
Install it or recompile php without --disable-phar

Your PHP (5.2.8) is too old, you must upgrade to PHP 5.3.2 or higher.
-----------------------------------------------------------

我没有权限安装不同版本的PHP,因为我使用的付费虚拟主机有点限制.我有什么选择?

php install phar symfony

-1
推荐指数
1
解决办法
1444
查看次数

-1
推荐指数
1
解决办法
4524
查看次数