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

Having issues using gdstk on Windows #35

Closed
KrA40n1 opened this issue Apr 1, 2021 · 2 comments
Closed

Having issues using gdstk on Windows #35

KrA40n1 opened this issue Apr 1, 2021 · 2 comments

Comments

@KrA40n1
Copy link

KrA40n1 commented Apr 1, 2021

Hello,

I have installed gdstk successfully by updating all conda modules.

However, now when I try to use gdstk I get the following error:

`C:\Users\Nikolay.Kr\anaconda3\python.exe C:/Users/Nikolay.Kr/Documents/Python/XOR/main.py
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "C:/Users/Nikolay.Kr/Documents/Python/XOR/main.py", line 2, in
import gdstk
ImportError: numpy.core.multiarray failed to import

Process finished with exit code 1`

I think it might be related to numpy version used(at least that is what I found on the Internet). I have upgraded to the newest version but nothing has changed. Maybe if I use the same version it will work well?

Thank you in advance.

@heitzmann
Copy link
Owner

@KrA40n1 Maybe it is related to conda-forge/gdstk-feedstock#2 ? Could you check by using the conda-forge channel for numpy?

@heitzmann
Copy link
Owner

heitzmann commented Apr 14, 2021

@KrA40n1 Please also consider the suggestions in this issue: conda-forge/gdstk-feedstock#9
If you still have trouble installing on Windows, please open an issue aver at the gdstk-feedstock repo, where more users will be able to help.

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

2 participants