wiseaidev / rust-data-analysis

Rust for data analysis encyclopedia (WIP).
Apache License 2.0
358 stars 38 forks source link

[πŸ› Bug]: First Notebook Cell Execution Fails with Multiple Scope Errors #18

Closed rrrodzilla closed 10 months ago

rrrodzilla commented 1 year ago

πŸ‘Ά Getting Started
Please search the history to see if an issue already exists for the same problem.

πŸ“ Describe the bug
This project looks interesting but I'm unable to proceed past the first step in notebook 1 which is installing dependencies. Running the first cell in the Rust kernel results in 4 errors, each stating: "multiple applicable items in scope".

πŸ•Ή Steps to reproduce

  1. Follow the install instructions from the README file.
  2. Open and run the first notebook.
  3. Switch to the Rust kernel.
  4. Run the first cell in the notebook.
  5. After about 45 seconds, the cell fails with errors.

😯 Current behavior
The cell fails to complete and instead throws 4 errors indicating "multiple applicable items in scope". (See attached screenshot for more details)

πŸ€” Expected behavior
The cell should complete its execution successfully and allow me to advance to the next notebook cell.

πŸ“Έ Screenshots

image

πŸ”¦ Additional context
I'm new to Rust-based data analysis (but not data analysis in general) and was really looking forward to going through the notebooks. This issue has currently halted my progress and I'm unable to move beyond the first notebook.

wiseaidev commented 1 year ago

Hi there, @rrrodzilla! I really appreciate you taking the time to report this issue. It looks like the newer releases of evcxr have come up with a new feature – they now support those informative "Compiling" messages starting from version v0.15.0. From what I can gather, you must be using a version that's newer than v0.15.0. My last experience was with version v0.14.2.

As the output suggests, you might want to try breaking down your statements into separate cells and running each line as its own command. If no one gets around to addressing this issue by the weekend, I'm planning on diving into the latest version myself. Thanks again for raising this concern!