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

GneisssWeb Notebook Recipe #1010

Draft
wants to merge 16 commits into
base: dev
Choose a base branch
from
Draft

Conversation

Hajar-Emami
Copy link

Why are these changes needed?

Related issue number (if any).

@Hajar-Emami
Copy link
Author

Hajar-Emami commented Feb 4, 2025

Many thanks, @shahrokhDaijavad, for the commands. After creating the venv, and running the below commands:

pip install "data-prep-toolkit-transforms[all]==1.0.1.dev1"
PACKAGE_LOCATION=$(pip show data_prep_toolkit_transforms | grep Location | awk '{print $2}')
cargo install --path $PACKAGE_LOCATION/dpk_rep_removal/rust
pip install jupyterlab
jupyter lab 

I am getting the following error:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[3], line 1
----> 1 from dpk_rep_removal.runtime import RepRemoval

ModuleNotFoundError: No module named 'dpk_rep_removal'

@shahrokhDaijavad
Copy link
Member

@Hajar-Emami Please do 2 things:

  1. Before you start Jupyter, do a pip list , so we can see data-prep-toolkit-transforms among the packages installed in your venv.
  2. If you see the DPK package listed correctly, then instead of starting juypter lab on the command line, (after pip installing it), please try the command venv/bin/jupyter lab and then see if you still get the error above.
  3. I will go through it with you tomorrow if 2) doesn't fix the error.

@Hajar-Emami Hajar-Emami changed the title Rep removal GneisssWeb Notebook Recipe Feb 5, 2025
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

Successfully merging this pull request may close these issues.

2 participants