Skip to content
New issue

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

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

Already on GitHub? # to your account

Jupyterlab Desktop Installer fail, cannot close Jupyterlab #602

Closed
cannocraft opened this issue Mar 3, 2023 · 7 comments
Closed

Jupyterlab Desktop Installer fail, cannot close Jupyterlab #602

cannocraft opened this issue Mar 3, 2023 · 7 comments

Comments

@cannocraft
Copy link

Description

I had previously installed Jupyterlab Desktop but had to uninstall it and re-install it.
When I went to reinstall it now won't complete the installation.
I get the following errors.
"Jupterlab cannot be closed"
image
retry repeats that message, ignoring proceeds to the following messages, each one after pressing ignore again.
"Error opening file for writing" this directory doesn't exist yet as it's not installed.
image
same this directory isn't created yet.
image

image

I didn't initially know about the uninstall procedure to remove jupterlab desktop python environment as described here

Any advice would be greatly appreciated.

@cannocraft cannocraft added the bug label Mar 3, 2023
@welcome
Copy link

welcome bot commented Mar 3, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@mbektas
Copy link
Member

mbektas commented Mar 7, 2023

You can try these

  • Make sure no JupyterLab Desktop or server instance is running (rebooting should terminate them if any)
  • If you want to uninstall any existing JupyterLab Desktop and/or Server installation, go to Add / Remove Programs remove all of the related installations.
  • If there are any dangling installations that cannot be removed from Add / Remove Programs then remove those dangling ones by following with care: https://support.microsoft.com/en-us/topic/removing-invalid-entries-in-the-add-remove-programs-tool-0dae27c1-0b06-2559-311b-635cd532a6d5
  • The instructions in the link above may need to be followed also for: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall

@JasonWeill
Copy link

@cannocraft Can you please add a comment about the additional steps (as @mbektas described) you followed, and whether they fixed the problem? Thanks!

@cannocraft
Copy link
Author

hi sorry for the delay in replying.
I've tried all those steps but I still get the same error when installing.
in response to @mbektas 4 points.

  1. there's nothing running that i can see, in apps or processes. i've restarted several times to no benefit.
  2. I have removed all installations of jupyterlab desktop and the python server instance. still see the same error when trying to install.
  3. and 4. I've checked the registry and can't see any entries for jupyterlab desktop in either the HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE key trees.

Other troubleshooting:
I have searched the C: drive for the word jupyter and found a working executable in C:\Users\_my_username_\AppData\Local\Temp\nsyC78F.tmp\7z-out this seems to have a temp extraction during install, from there i can find an installer for the JupyterLabDesktopAppServer which installs successfully. I still can't install the main program from the downloaded installer but this seems to be a workaround of sorts.

The folder structure is here
image
when i run jupyterlab.exe the program runs fine it seems

Any ideas on this? should i just back up this folder and then delete it?

@mbektas
Copy link
Member

mbektas commented Mar 17, 2023

Have you tried installing to the default installation directory C:\JupyterLab? Also running the installer as administrator?

@JasonWeill
Copy link

@cannocraft Can you please respond to @mbektas 's comment earlier?

@cannocraft
Copy link
Author

Hi @mbektas and @JasonWeill, it looks like my previous comment didn't post correctly.
I tried installing to the default location with admin rights but it didn't work.
I then moved the temp folder to another location and when I went to reinstall with the installer it worked fine. I used admin rights that time too.
For me this issue is closed now.
Thanks for the help

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants