|
不好意思,又是这种安装的问题。
PsychoPy 站点: http://code.google.com/p/psychopy/ 和 http://www.psychopy.org/
其实我不懂到底有没有装上,我就将过程描述出来:
1. 我先是照着[color="Red"]这里的说明,全部安装了所有依赖的软件包
2. 由于看不懂“For non-Debian systems you need to install the dependencies below manually and then PsychoPy (with easy_install?)”括号里的内容,就照[color="red"]这里的命令敲了进去(已提升权限)
3. 终端居然好像自己下载了 PsychoPy-1.64.00-py2.6.egg 文件并开始安装,然后提示
- Installing psychopy_post_inst.py script to /usr/local/bin
- Using /usr/local/lib/python2.6/site-packages/PsychoPy-1.64.00-py2.6.egg
- Processing dependencies for psychopy
- Finished processing dependencies for psychopy
复制代码
等语
4. 若照期望,安装后应该是一个正常的程序,像 Chrome 一样,会在程序里创建快捷方式,并且有用户界面。可是,不仅程序里毫无踪影,就连终端都查找不到“psychopy”(我猜过去其程序应该就是这个了)。/usr/local/bin 里倒是有一个 psychopy_post_inst.py
5. 我无所为计,随便在提升权限后输入了- psychopy_post_inst.py -install
复制代码 ,提示:
- Adding shortcuts to >>Start>Programs>PsychoPy
- failed to install shortcuts
- <type 'exceptions.NameError'> global name 'get_special_folder_path' is not defined
- TOP TIP: It's a good idea to add PsychoPyIDE to your handlers for *.py files.
- To do that, open a windows explorer window, go to >Tools>FoldersOptions>FileTypes.
- Find .py file type, click 'Advanced' and add the command:
- "C:\Python25\pythonw.exe" "C:\Python25\Lib\site-packages\PsychoPyIDE\PsychoPyIDE.py" "%1"
- Now you can right-click files and open them in PsychoPy, ready-to-run :-)
复制代码
输入提示:
- Searching for psychopy
- Best match: PsychoPy 1.64.00
- Processing PsychoPy-1.64.00-py2.6.egg
- PsychoPy 1.64.00 is already the active version in easy-install.pth
- Installing psychopy_post_inst.py script to /usr/local/bin
- Using /usr/local/lib/python2.6/site-packages/PsychoPy-1.64.00-py2.6.egg
- Processing dependencies for psychopy
- Finished processing dependencies for psychopy
复制代码
6. 我试着给软件作者发了邮件询问如何找到自己所装的这个软件,杳无回应,[color="red"]这里倒是还有个介绍,不过也与我所做的差不多。我不知道该怎么办了。
附
- user@linux-b8md:~> easy_install --help
- Global options:
- --verbose (-v) run verbosely (default)
- --quiet (-q) run quietly (turns verbosity off)
- --dry-run (-n) don't actually do anything
- --help (-h) show detailed help message
- Options for 'easy_install' command:
- --prefix installation prefix
- --zip-ok (-z) install package as a zipfile
- --multi-version (-m) make apps have to require() a version
- --upgrade (-U) force upgrade (searches PyPI for latest
- versions)
- --install-dir (-d) install package to DIR
- --script-dir (-s) install scripts to DIR
- --exclude-scripts (-x) Don't install scripts
- --always-copy (-a) Copy all needed packages to install dir
- --index-url (-i) base URL of Python Package Index
- --find-links (-f) additional URL(s) to search for packages
- --delete-conflicting (-D) no longer needed; don't use this
- --ignore-conflicts-at-my-risk no longer needed; don't use this
- --build-directory (-b) download/extract/build in DIR; keep the
- results
- --optimize (-O) also compile with optimization: -O1 for
- "python -O", -O2 for "python -OO", and -O0 to
- disable [default: -O0]
- --record filename in which to record list of installed
- files
- --always-unzip (-Z) don't install as a zipfile, no matter what
- --site-dirs (-S) list of directories where .pth files work
- --editable (-e) Install specified packages in editable form
- --no-deps (-N) don't install dependencies
- --allow-hosts (-H) pattern(s) that hostnames must match
- --local-snapshots-ok (-l) allow building eggs from local checkouts
- usage: easy_install [options] requirement_or_url ...
- or: easy_install --help
复制代码 |
|