Here's what I got. I did:

1. `cd leointeg`; `git checkout .`; `git pull`
2. npm install
added 2 packages from 4 contributors and audited 313 packages in 1.678s

Then F5 gives me the extension, but still without a Load File option in the 
Leo tab. I get this error in the original VSCode window:

stderr:   File "c:\Programs\leointeg/scripts/leobridge.py", line 26

    print(p_string, flush=True)
                         ^
SyntaxError: invalid syntax
leoBridge.js:106

child process exited with code 1
leoBridge.js:109

Looks like it's using Python 2 (which was installed along with Node.js, I 
didn't have it installed previously).

After adding `C:\Programs\Anaconda3` to my (system) PATH variable before 
C:\Python27, I get this:

from python Error importing leoApp.py
leoBridge.js:73
stderr: Traceback (most recent call last):
  File "c:\Programs\leointeg/scripts/leobridge.py", line 13, in <module>
    verbose=False)     # True: print informational messages.
  File "C:\Programs\Leo\leo\core\leoBridge.py", line 71, in controller
    verbose)
  File "C:\Programs\Leo\leo\core\leoBridge.py", line 89, in __init__
    self.initLeo()
  File "C:\Programs\Leo\leo\core\leoBridge.py", line 120, in initLeo
    assert(g.app)
AssertionError

leoBridge.js:106
child process exited with code 1

(And still no Load File in Leo's tab).
Maybe with Anaconda we need to use a different way to properly invoke the 
environment?
I forgot the details of why, but for my cmd shell I use this:

%windir%\System32\cmd.exe "/K" C:\Programs\Anaconda3\Scripts\activate.bat

Arjan

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/da52958d-b446-4385-84ed-840132c16d6d%40googlegroups.com.

Reply via email to