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

Install issue on conda #134

Open
21kondav opened this issue Jul 8, 2024 · 1 comment
Open

Install issue on conda #134

21kondav opened this issue Jul 8, 2024 · 1 comment

Comments

@21kondav
Copy link

21kondav commented Jul 8, 2024

I am trying to install fqe-0.3.0 in miniconda using the environments pip and it always fails at the very end with:

C:\Users\david-kong\AppData\Local\Temp\pip-install-wi7gy4pd\fqe_5c99181e594b4513914e9e20d67aee98\src\fqe\lib\cirq_utils.h(22): error C2143: syntax error: missing ')' before '*'
      C:\Users\david-kong\AppData\Local\Temp\pip-install-wi7gy4pd\fqe_5c99181e594b4513914e9e20d67aee98\src\fqe\lib\cirq_utils.h(22): error C2143: syntax error: missing '{' before '*'
      C:\Users\david-kong\AppData\Local\Temp\pip-install-wi7gy4pd\fqe_5c99181e594b4513914e9e20d67aee98\src\fqe\lib\cirq_utils.h(23): error C2059: syntax error: 'type'
      C:\Users\david-kong\AppData\Local\Temp\pip-install-wi7gy4pd\fqe_5c99181e594b4513914e9e20d67aee98\src\fqe\lib\cirq_utils.h(31): error C2059: syntax error: ')'   
      src\fqe\lib\cirq_utils.c(31): error C2143: syntax error: missing ')' before '*'
      src\fqe\lib\cirq_utils.c(31): error C2143: syntax error: missing '{' before '*'
      src\fqe\lib\cirq_utils.c(32): error C2059: syntax error: 'type'
      src\fqe\lib\cirq_utils.c(40): error C2059: syntax error: ')'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

I have tried version 0.2 with no luck and I tried installing it on python 3.12 and 3.10 to no avail. Not sure what to do.

Thanks

@ncrubin
Copy link
Collaborator

ncrubin commented Jul 8, 2024

can you post the C-compiler you are using any any other relevant environment information?

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