question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while importing in Jupyter Notebook

See original GitHub issue

I have installed last version of CHAID Package, when I am trying to import CHAID into my notebook . getting a syntax error

from CHAID import Tree

error message:

 File "C:\...\Local\Continuum\anaconda3\lib\site-packages\CHAID\graph.py", line 75
    file = 'C:\...\Documents\Python Scripts\CHAID\temp\' + ("%.20f" % time.time()).replace('.', '') + '.png'


    ^
SyntaxError: invalid syntax

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Rambatinocommented, Apr 16, 2020

What is your output of pip freeze | findstr CHAID?

0reactions
Rambatinocommented, Apr 17, 2020

Amazing 🙌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import on Jupyter notebook failed where command prompt ...
Usually that indicates that the notebook is running with a different Python or in a different environment from Python in the command prompt....
Read more >
"ImportError: No module named" when trying to run Python script
This problem occurs due to the different versioning - e.g. if the Python installed on your machine is installed in a folder ...
Read more >
What to do when things go wrong - The Jupyter Notebook
If Jupyter gives an error that it can't find notebook , check with pip or conda that the notebook package is installed. Try...
Read more >
Fixing Module Not Found errors with Jupyter notebook
If you're getting ModuleNotFoundError in Jupyter, first double-check that you installed the package with pip install . Triple-check you didn't misspell the ...
Read more >
Module Not Found Error in Jupyter Notebook - YouTube
In this video, I'll show you how you can troubleshoot 'Module Not Found' error in Python Jupyter Notebook.Watch out full playlist: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found