On Tue, Nov 25, 2014 at 9:07 AM, Zoom.Quiet <[email protected]> wrote:
> WoW !
> finally come on!
> upgrade now !

so sad for China:
- my env:
$ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: b11f75bf795293b59c448f1c4a4d4ec16e8be1d1
Last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.10-x86_64
Xcode: 6.1
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /Users/zoomq/.pyenv/shims/python
Ruby: /Users/zoomq/.rvm/rubies/ruby-1.9.3-p327/bin/ruby


try brew:
- because GFW, from China update homebrew is very hard
- base VPN, after brew update
- can not brew search leo

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
try pip:
base pyenv 2.7.8 for leo clean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ pip install leo
...
Installing collected packages: leo
  Running setup.py install for leo
    changing mode of build/scripts-2.7/leo-install.py from 644 to 755

    warning: no previously-included files matching '*.pyc' found under
directory 'leo'
    warning: no previously-included files matching '*.pyo' found under
directory 'leo'
    warning: no files found matching '*.tix' under directory 'leo'
    warning: no files found matching '*.dbm' under directory 'leo'
    warning: no files found matching '*.conf' under directory 'leo'
    warning: no files found matching '*.TXT' under directory 'leo'
    warning: no files found matching '*.def' under directory 'leo'
    warning: no files found matching '*.six' under directory 'leo'
    warning: no files found matching '*.cat' under directory 'leo'
    warning: no files found matching '*.pro' under directory 'leo'
    warning: no files found matching '*.xsl' under directory 'leo'
    warning: no files found matching '*.rix' under directory 'leo'
    warning: no files found matching '*.alg' under directory 'leo'
    warning: no files found matching '*.iix' under directory 'leo'
    warning: no files found matching '*.w' under directory 'leo'
    no previously-included directories found matching 'leo/extensions'
    no previously-included directories found matching 'leo/test'
    no previously-included directories found matching 'leo/plugins/test'
    no previously-included directories found matching 'leo/doc/html'
    no previously-included directories found matching 'leo/__pycache__'
    no previously-included directories found matching 'leo/*/__pycache__'
    changing mode of
/Users/zoomq/.pyenv/versions/278leo/bin/leo-install.py to 755
    Installing leoc script to /Users/zoomq/.pyenv/versions/278leo/bin
    Installing leo script to /Users/zoomq/.pyenv/versions/278leo/bin
Successfully installed leo
Cleaning up...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and then
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ leo
Traceback (most recent call last):
  File "/Users/zoomq/.pyenv/versions/278leo/bin/leo", line 9, in <module>
    load_entry_point('leo==4.11-final', 'gui_scripts', 'leo')()
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/runLeo.py",
line 81, in run
    g.app.loadManager.load(fileName,pymacs)
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoApp.py",
line 1892, in load
    lm.doPrePluginsInit(fileName,pymacs)
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoApp.py",
line 1936, in doPrePluginsInit
    lm.readGlobalSettingsFiles()
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoApp.py",
line 1839, in readGlobalSettingsFiles
    lm.computeMyLeoSettingsPath())]
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoApp.py",
line 1810, in openSettingsFile
    c = g.app.newCommander(fn)
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoApp.py",
line 932, in newCommander
    return leoCommands.Commands(fileName,relativeFileName,gui,previousSettings)
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoCommands.py",
line 100, in __init__
    c.initObjects(self.gui)
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/core/leoCommands.py",
line 339, in initObjects
    import leo.plugins.free_layout as free_layout
  File 
"/Users/zoomq/.pyenv/versions/278leo/lib/python2.7/site-packages/leo/plugins/free_layout.py",
line 24, in <module>
    from PyQt4 import QtCore, QtGui, Qt
ImportError: No module named PyQt4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check PyQt4
but i had install pyqt by brew:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ brew info pyqt
pyqt: stable 4.11.1 (bottled)
http://www.riverbankcomputing.co.uk/software/pyqt
/usr/local/Cellar/pyqt/4.11.1 (63 files, 16M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/pyqt.rb
==> Dependencies
Required: qt ✔, sip ✔
==> Options
--with-python3
    Build with python3 support
--without-python
    Build without python support
==> Caveats
Phonon support is broken.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and try install PyQt4 by pip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ pip install PyQt4
Downloading/unpacking PyQt4
  http://pypi.douban.com uses an insecure transport scheme (http).
Consider using https if pypi.douban.com has it available
  http://pypi.pubyun.com uses an insecure transport scheme (http).
Consider using https if pypi.pubyun.com has it available
  http://pypi.hustunique.com uses an insecure transport scheme (http).
Consider using https if pypi.hustunique.com has it available
  http://pypi.gocept.com uses an insecure transport scheme (http).
Consider using https if pypi.gocept.com has it available
  Could not find any downloads that satisfy the requirement PyQt4
Cleaning up...
No distributions at all found for PyQt4
Storing debug log for failure in /Users/zoomq/.pip/pip.log


the pip.log as atta.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
finally deploy by hand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias leolanch="python /opt/bin/leo/launchLeo.py >> /dev/null 2>&1 &"

and call leo back:

Leo Log Window
Leo 5.0-final, build 20141124101406, Mon Nov 24 10:14:06 CST 2014
Not running from a git repo
Python 2.7.8, PyQt version 4.8.6
darwin
setting leoID from os.getenv('USER'): 'zoomq'
load dir: /opt/bin/Leo5.0-final/leo/core
global config dir: /opt/bin/Leo5.0-final/leo/config
home dir: /Users/zoomq
reading settings in /opt/bin/Leo5.0-final/leo/config/leoSettings.leo
reading settings in /Users/zoomq/.leo/myLeoSettings.leo

...


> thanx and great job!
>
> On Tue, Nov 25, 2014 at 12:54 AM, Edward K. Ream <[email protected]> wrote:
>> Leo 5.0-final is now available at:
>> http://sourceforge.net/projects/leo/files/Leo/
>>
>> Please report any problems immediately--I'll delay wider announcement until
>> tomorrow.
>>
>> Many thanks to all those who have contributed so much to Leo 5.0.
>>
>> The highlights of Leo 5.0
>> --------------------------
>>
>> * Better compatibility with vim, Emacs, pylint and PyQt:
>>     - Optional native emulation of vim commands.
>>     - Full support for Emacs org-mode outlines.
>>     - Full support for Vim .otl outlines.
>>     - Better support for pylint.
>>     - Support for both PyQt4 and PyQt5.
>> * Smoother installation:
>>     - Support for brew install leo on MacOS.
>>     - 'python setup.py install' now works.
>>     - pip install leo now works.
>>     - Leo is now a debian package.
...

-- 
Life's Pathetic, Let's Pythonic! 人生苦短, Python是岸!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization be learnning!

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to