Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"IPython (QtConsole)" and "IPython" won't start / "Fatal error in launcher" #805

Open
LenzWinkler opened this issue Dec 1, 2023 · 2 comments

Comments

@LenzWinkler
Copy link

LenzWinkler commented Dec 1, 2023

When I start "IPython" from the Windows Start menu or from "C:\Program Files (x86)\OpenSesame\ipython.bat," I receive the following error message:

C:\Program Files (x86)\OpenSesame>Scripts\ipython.exe
Fatal error in launcher: Unable to create process using '"C:\Users\Sebastiaan\git\opensesame-windows-build-scripts\conda\rapunzel-py311\python.exe"  "C:\Program Files (x86)\OpenSesame\Scripts\ipython.exe" ': The system cannot find the file specified.

When I call "IPython (QtConsole)," I get a window with a similar error message:
image

So, who is this "Sebastiaan" whose profile is being attempted to access but is, of course, not present? ;-)

opensesame_4.0.13-py311-win64-1.exe
opensesame_4.0.13-py311-win64-1.zip

@LenzWinkler
Copy link
Author

LenzWinkler commented Dec 1, 2023

In the following file conda-hook.ps1, I found the mysterious Sebastiaan:

C:\Program Files (x86)\OpenSesame\shell\condabin\conda-hook.ps1
opensesame_4.0.13-py311-win64-1\shell\condabin\conda-hook.ps1

$Env:CONDA_EXE = "C:/Users/Sebastiaan/git/opensesame-windows-build-scripts/conda/rapunzel-py311\Scripts\conda.exe"
$Env:_CE_M = ""
$Env:_CE_CONDA = ""
$Env:_CONDA_ROOT = "C:/Users/Sebastiaan/git/opensesame-windows-build-scripts/conda/rapunzel-py311"
$Env:_CONDA_EXE = "C:/Users/Sebastiaan/git/opensesame-windows-build-scripts/conda/rapunzel-py311\Scripts\conda.exe"
$CondaModuleArgs = @{ChangePs1 = $True}
Import-Module "$Env:_CONDA_ROOT\shell\condabin\Conda.psm1" -ArgumentList $CondaModuleArgs

Remove-Variable CondaModuleArgs

@smathot
Copy link
Collaborator

smathot commented Dec 13, 2023

Thanks! This is actually related to the https://github.com/smathot/opensesame-windows-build-scripts, but I'll leave it open here for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants