cjdrake / pyeda

Python EDA
BSD 2-Clause "Simplified" License
301 stars 55 forks source link

Windows Installation issues #164

Open BenjaminMichaelis opened 2 years ago

BenjaminMichaelis commented 2 years ago

Had problems installing via pip and windows with python 3.10.0 and pip 21.3.1 with ERROR exit status 1.

Solution I found was downgrading python to 3.9.6 (and subsequently pip is version 21.1.3) and then used the .whl packages to install.

This required

This worked for myself and multiple others that I am working with! Hopefully this helps!

worseTyler commented 2 years ago

For a slightly better link

Tom-Evers commented 1 year ago

I don't want to downgrade my python version (I'm on 3.11) but I can't seem to install Pyeda

pip install pyeda yields the following errors:

boolexpr.c
extension\boolexpr\boolexpr.c(440): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(440): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(440): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(449): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(449): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(449): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(458): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(458): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(458): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(467): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(467): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(476): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(476): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(485): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(485): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(485): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(494): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(494): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(494): error C2133: 'xs': unknown size
extension\boolexpr\boolexpr.c(503): error C2057: expected constant expression
extension\boolexpr\boolexpr.c(503): error C2466: cannot allocate an array of constant size 0
extension\boolexpr\boolexpr.c(503): error C2133: 'xs': unknown size

And I can't install any of the (latest) wheels: ERROR: pyeda-0.28.0-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

asishm commented 1 year ago

@Tom-Evers you'll have to build from the git repo I believe. The last pypi release was way back in 2015. Gohlke's site won't work since there are no wheels there for py3.10