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 C:\Users\rob_iawac46\.conda\envs\leo python "D:\Synced\github repos\leo\launchLeo.py" echo on I even tried with echo on to see if I could see what was going on. No luck. Also tried the string after python w/o the double-quotes; doesn't work either. Rob... On Thursday, June 20, 2019 at 2:01:52 PM UTC-4, Terry Brown wrote: > > 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 <[email protected] <javascript:>> > 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 <[email protected]> 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 <[email protected]> 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 [email protected]. > >>> To post to this group, send email to [email protected]. > >>> 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 [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > 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 [email protected]. To post to this group, send email to [email protected]. 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/628be827-d2ee-409b-a9cd-7ba23c6dd90e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
