pyeda icon indicating copy to clipboard operation
pyeda copied to clipboard

Windows Installation issues

Open BenjaminMichaelis opened this issue 3 years ago • 3 comments

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!

BenjaminMichaelis avatar Nov 14 '21 17:11 BenjaminMichaelis

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.

Tom-Evers avatar Nov 18 '22 07:11 Tom-Evers

@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

asishm avatar Dec 06 '22 04:12 asishm