fault icon indicating copy to clipboard operation
fault copied to clipboard

Cant install faul.

Open Arka2BR opened this issue 3 years ago • 4 comments

When I try to use "pip install fault", I get this error,

ERROR: Command errored out with exit status 1: command: 'E:\Anaconda\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\arkap\AppData\Local\Temp\pip-install-04cqvv0m\coreir\setup.py'"'"'; file='"'"'C:\Users\arkap\AppData\Local\Temp\pip-install-04cqvv0m\coreir\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\arkap\AppData\Local\Temp\pip-pip-egg-info-xo4m01hy' cwd: C:\Users\arkap\AppData\Local\Temp\pip-install-04cqvv0m\coreir
Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\arkap\AppData\Local\Temp\pip-install-04cqvv0m\coreir\setup.py", line 24, in raise NotImplementedError(_system) NotImplementedError: Windows ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Any suggestions what to do?

Arka2BR avatar Jun 30 '21 18:06 Arka2BR

fault depends on coreir and pycoreir which contain binary distributions of C++ code. Unfortunately, this code has neither been tested on nor built for Windows.

The easiest route would be to try running on a machine (or VM) with macOS or Linux.

If you do not have access to either and you are familiar with building C++ on Windows, you might be able to build CoreIR from source.

rsetaluri avatar Jun 30 '21 19:06 rsetaluri

I see. I'll try it out.

Arka2BR avatar Jun 30 '21 20:06 Arka2BR

Yes, if you'd like to pursue using this on windows native, we'll need to start with buildling coreir succesfully on that platform, so I would suggest opening an issue in that repository and we can explore what this might involve. However using linux or macOS is likely to be much less painful given we've extensively tested on both these platforms.

leonardt avatar Jun 30 '21 20:06 leonardt

Hmm I dont know if you could build it for Windows in a few hours if I raise the issue. Ill try VM for the time being...

Arka2BR avatar Jun 30 '21 21:06 Arka2BR