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 helpful :)

Cheers -Terry


On Thu, Jun 20, 2019 at 12:34 PM Rob <larg...@gmail.com> wrote:
>
> 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 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 at 12:04 PM Rob <lar...@gmail.com> wrote:
>>>
>>> PS D:\Synced\github repos\leo> c:\ProgramData\Anaconda3\python.exe
launchLeo.py
>>> Traceback (most recent call last):
>>>   File "launchLeo.py", line 7, in <module>
>>>     import leo.core.runLeo
>>>   File "D:\Synced\github repos\leo\leo\core\runLeo.py", line 27, in
<module>
>>>     import leo.core.leoApp as leoApp
>>>   File "D:\Synced\github repos\leo\leo\core\leoApp.py", line 22, in
<module>
>>>     import sqlite3
>>>   File "C:\ProgramData\Anaconda3\lib\sqlite3\__init__.py", line 23, in
<module>
>>>     from sqlite3.dbapi2 import *
>>>   File "C:\ProgramData\Anaconda3\lib\sqlite3\dbapi2.py", line 27, in
<module>
>>>     from _sqlite3 import *
>>> ImportError: DLL load failed: The specified module could not be found.
>>>
>>> I verified that the last file mentioned:
"C:\ProgramData\Anaconda3\lib\sqlite3\dbapi2.py" exists. What does 'DLL
load failed...' mean?
>>>
>>> Rob...
>>>
>>> On Thursday, June 20, 2019 at 12:08:36 PM UTC-4, Edward K. Ream wrote:
>>>>
>>>>
>>>>
>>>> On Thu, Jun 20, 2019 at 10:58 AM Rob <lar...@gmail.com> 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 are subscribed to the Google
Groups "leo-editor" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
an email to leo-e...@googlegroups.com.
>>> To post to this group, send email to leo-e...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/leo-editor.
>>> To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/b556f104-7c41-4b5a-b8fb-c18070ba0697%40googlegroups.com
.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/0d5b19b5-6818-45f2-b31c-c9acc731a35c%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAFPg46ScXnYB3rz2KsjHBG5FPcCVNMTGGEVwAHiEozgY4TF%2BoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to