[英]Installing sikuli on Mac OSX using pip command
I tried to install sikuli on Mac OSX using the following command: 我尝试使用以下命令在Mac OSX上安装sikuli:
pip install sikuli But it is shown that I have to install Cytho first. pip install sikuli但是显示我必须先安装Cytho。
So I tried to install Cython using the commnd: pip install Cython 所以我尝试使用commnd安装Cython:pip install Cython
but got the following error 但出现以下错误
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/Library/Python/2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/Library/Python/2.7/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/cython.py'
Can anybody help me in this? 有人可以帮我吗?
pip install --user cython
or sudo pip install cython
pip install --user cython
或 sudo pip install cython
Regular users do not have permissions to write to system directories ( /Library/Python/..
). 普通用户没有写系统目录(
/Library/Python/..
)的权限。 Either install only for current user, or sudo
it to install in system path. 无论是只安装当前用户,或
sudo
它在系统路径安装。
Note - this has nothing to do with cython. 注意-与cython无关。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.