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.

Twice execution of Example 01 raises Error in IPython (Spyder 4.1.5, Python 3.8)

See original GitHub issue

Hi,

executing Example 01 twice in the same IPython-console in Spyder, the plot function raises an Error:

plot(m, x, shading='gouraud', colorbar=True)
  File "C:\Users\Andreas\Documents\GitHub\scikit-fem\skfem\visuals\matplotlib.py", line 127, in plot
    raise NotImplementedError("Type {} not supported.".format(type(m)))

NotImplementedError: Type <class 'skfem.mesh.mesh.MeshTri1'> not supported.

P.S.: I’m using the master branch from scikit-fem along with Python 3.8 and Spyder 4.1.5 on Win10. Hopefully this is ok to submit if I’m not using the latest pypi-release.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
gdmcbaincommented, Apr 14, 2021

Nope, F5 runfile works here too.

image

0reactions
gdmcbaincommented, Apr 14, 2021

Sure. No problem, I’m pleased to have learnt more about IPython and Spyder. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tried 5.1.5 but did not debug; reverted to 4.1.5 then ... - GitHub
Installed 5.2.2 as an app - but it it is running Python 3.7 (need 3.8). Reverted back to Spyder 4.1.5 and now received...
Read more >
Spyder 4.2.5 - iPython Console Not Working With Python 3.8.0
And every time I execute the command pip install spyder-kernels. It show the message: Fatal error in launcher: Unable to create process using...
Read more >
Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >
Release 7.23.1 The IPython Development Team
1. Provide an interactive shell superior to Python's default. IPython has many features for tab-completion, object.
Read more >
Release notes — conda 4.6.1 documentation
resolve #7423 add upgrade error for unsupported repodata_version (#7415); raise CondaUpgradeError for conda version downgrades on environments (#7517) ...
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