open-cogsci / OpenSesame

Graphical experiment builder for the social sciences
http://osdoc.cogsci.nl/
GNU General Public License v3.0
234 stars 111 forks source link

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

Open LenzWinkler opened 7 months ago

LenzWinkler commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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