nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.91k stars 335 forks source link

Newly installed python modules cannot be found by hydrogen in pulsar #2167

Open rchaklashiya opened 1 year ago

rchaklashiya commented 1 year ago

Prerequisites

Description

Hydrogen cannot find any newly installed python packages after a certain date. All my old python packages run fine, but any newer packages I install give a "module not found" error. I have already confirmed that these new packages are in the same package folder as the old ones, so it is very strange that Hydrogen can detect the older packages in the same folder as the new ones, but not the new ones. Uninstalling and reinstalling Hydrogen and updating Pulsar does not solve the problem.

Steps to Reproduce

  1. Install a new python package via "pip install ..."
  2. Add the package to code
  3. Try running Hydrogen

Versions

Pulsar Version 1.105.0

OS version:

Microsoft Windows 11 Home 10.0.22621 Build 22621

Hydrogen version: 2.16.4

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

Logs

ModuleNotFoundError: No module named 'hanlabtools'

Expected behavior

The code should run fine without the modulenotfound error

Screenshots

image

Additional context

I've had this issue for a couple months now.