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

Analog Inverter with Magic Notebook fails #77

Open
ZeRuiCustodio opened this issue Dec 4, 2023 · 0 comments
Open

Analog Inverter with Magic Notebook fails #77

ZeRuiCustodio opened this issue Dec 4, 2023 · 0 comments

Comments

@ZeRuiCustodio
Copy link

Hello. I have just tried to run the "Analog Inverter with Magic" Notebook and it fails when trying to import the cairosvg module.
The error message is as follows:
"---------------------------------------------------------------------------
Exception Traceback (most recent call last)
in <cell line: 2>()
1 import gdstk
----> 2 import cairosvg
3 from IPython.display import Image
4
5 library = gdstk.read_gds('mosfet.gds')

4 frames
/usr/local/lib/python3.10/dist-packages/cffi/api.py in init(self, backend)
52 if hasattr(backend, 'file'):
53 # CPython
---> 54 raise Exception("Version mismatch: this is the 'cffi' package version %s, located in %r. When we import the top-level '_cffi_backend' extension module, we get version %s, located in %r. The two versions should be equal; check your installation." % (
55 version, file,
56 backend.version, backend.file))

Exception: Version mismatch: this is the 'cffi' package version 1.16.0, located in '/usr/local/lib/python3.10/dist-packages/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.15.1, located in '/usr/local/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so'. The two versions should be equal; check your installation."

Any suggestion on how to solve this issue?

Thank you in advance for any suggestions.

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

No branches or pull requests

1 participant