Rob it sounds like you may have solved your problem, but here's something
for future reference, and anyone who dumps into this thread following a
search:
1. install python 3.6+ (miniconda and anaconda are good routes)
2. fetch latest Leo git sources however you usually do (`git clone
I was breaking the line at a different place. Now it works following your
example. However, it doesn't accept Leo command line arguments, but for now
let's leave it at that and perhaps I'll start a new thread on that subject.
Thanks for your help!
Rob...
On Thursday, June 20, 2019 at 4:49:21
On Thu, 20 Jun 2019 13:26:53 -0700 (PDT)
Rob wrote:
> Needs to be on the same line. However, I get this error:
I just tested it and it worked for me using two lines.
Here's my exact leo.bat:
call c:\Users\TBrown02\local\mc2\Scripts\activate.bat
c:\Users\TBrown02\local\mc2\envs\leo
python
Needs to be on the same line. However, I get this error:
D:\Utility Apps\Leo Resources>echo off
activate does not accept more than one argument:
['C:\\Users\\rob_iawac46\\.conda\\envs\\leo', 'python', 'D:\\Synced\\github
repos\\leo\\launchLeo.py']
Looks like I can't pass the script file as an
On Thu, 20 Jun 2019 12:19:10 -0700 (PDT)
Rob wrote:
> Doesn't work, perhaps I'm not understanding something.
>
>1. I created an Anaconda environment (leo) which includes Python
> 3.7 and PyQt (among other things).
>2. I created the following batch file (paths match my file paths).
>
>
Doesn't work, perhaps I'm not understanding something.
1. I created an Anaconda environment (leo) which includes Python 3.7 and
PyQt (among other things).
2. I created the following batch file (paths match my file paths).
echo off
CALL C:\ProgramData\Anaconda3\Scripts\activate.bat
Looks like you'd need something along these lines:
https://stackoverflow.com/questions/42602024/windows-shortcut-to-run-python-script-in-anaconda-command-prompt
replacing "jupyter lab" with "python c:\some\path\to\launchLeo.py".
Not knowing your skill set let me know if more detail woudl be
Thanks, Terry. I was able to launch Leo from an Anaconda shell. How do I
translate that to a Windows shortcut like I had before?
Rob...
On Thursday, June 20, 2019 at 1:22:19 PM UTC-4, Terry Brown wrote:
>
> I think activating an Anaconda environment requires more steps. Easiest
> way for
I think activating an Anaconda environment requires more steps. Easiest
way for testing is to launch the Anaconda shell from the start menu.
If your ultimate goal is launching from an icon there are more steps, but
initial testing the shell's the way to go.
Cheers -Terry
On Thu, Jun 20, 2019
PS D:\Synced\github repos\leo> c:\ProgramData\Anaconda3\python.exe
launchLeo.py
Traceback (most recent call last):
File "launchLeo.py", line 7, in
import leo.core.runLeo
File "D:\Synced\github repos\leo\leo\core\runLeo.py", line 27, in
import leo.core.leoApp as leoApp
File
On Thu, Jun 20, 2019 at 10:58 AM Rob wrote:
> Now I can't run Leo at all.
>
> Any ideas on what to try next?
>
Open a console first. Then run python from the console. That way the
console will remain open and you can see what went wrong.
Edward
--
You received this message because you
Now I can't run Leo at all.
1. Had Python 3.4 on Windows (Leo worked fine).
2. Updated latest Git version of Leo as usual.
3. After error attempting to launch Leo (needs Python 3.6 or above), I
installed Anaconda 64 bit. This includes Python 3.7 and PyQt5 by default.
4. Set path
Nobody has complained about this, so I assume everyone has already gotten
the message.
I am not willing to support python 3.5 or earlier. Imo, the early versions
of python 3 were dogs.
*Details*
The startup code uses g.minimum_python_version (The string '3.6') and
raises an emergency
13 matches
Mail list logo