Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parse gds files in python #33

Open
The-Jacob-Lopez opened this issue Sep 13, 2021 · 0 comments
Open

Parse gds files in python #33

The-Jacob-Lopez opened this issue Sep 13, 2021 · 0 comments

Comments

@The-Jacob-Lopez
Copy link

(This message has also been posted as an issue on the pygds repo)

Hello Dr. Zheng,

I was wondering if pygds is still being supported and if it’s compatible with the GDS file format and with modern versions of python, numpy, and gcc? I’ve been experiencing issues installing pygds. In particular, using the command ’pip install git+git://github.com/CoreArray/pygds.git' generates the following error:

src/PyCoreArray.cpp: In function ‘bool pygds_init()’:
src/PyCoreArray.cpp:899:25: error: ‘NUMPY_IMPORT_ARRAY_RETVAL’ was not declared in this scope
899 | if (init() == NUMPY_IMPORT_ARRAY_RETVAL) return false;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/lib64/ccache/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ffkgdaz9/setup.py'"'"'; file='"'"'/tmp/pip-req-build-ffkgdaz9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-btac33gq/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/kyle/.local/include/python3.9/pygds Check the logs for full command output.

Is there any chance you know what may cause this?

Specifications:
OS: Mac 10.15.7
Python: 3.8.5
numpy: 1.21.2

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant