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

I can't run Feynman successfully #1

Closed
clzoc opened this issue Nov 16, 2020 · 8 comments
Closed

I can't run Feynman successfully #1

clzoc opened this issue Nov 16, 2020 · 8 comments

Comments

@clzoc
Copy link

clzoc commented Nov 16, 2020

cabal.exe: Could not resolve dependencies:
[__0] trying: Feynman-0.1.0.0 (user goal)
[__1] unknown package: old-time (dependency of Feynman)
[__1] fail (backjumping, conflict set: Feynman, old-time)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: Feynman, old-time

Above is the error information. I have used stack to install ghc-8.0.2 and base-4.9.1.0. Whether i install or uninstall the old-time library, it just report these dependency problem above. I used to try the Sandboxes tutorial, but i was trapped in "Downloading the latest package list from hackage.haskell.org".

@meamy
Copy link
Owner

meamy commented Nov 17, 2020

Sorry for the trouble compiling! I'm guessing old-time isn't included in stack's curated packages. I've been looking to get rid of old-time so I'll try to get that done now which should hopefully solve the problem.

I'm also curious as to why cabal update is failing. If you're on Mac this may be relevant: https://stackoverflow.com/questions/25498161/2014-haskell-cabal-update-hangs-on-mac

@clzoc
Copy link
Author

clzoc commented Nov 17, 2020 via email

@meamy
Copy link
Owner

meamy commented Nov 17, 2020

No problem at all! I'm not able to see the files --- would you mind uploading them directly to github? I think the email reply doesn't upload attachments.

Thanks!

@clzoc
Copy link
Author

clzoc commented Nov 17, 2020

  1. stack.yaml
    stack.yaml.txt

  2. stack.yaml.lock
    stack.yaml.lock.txt

  3. error_report after input stack build
    error_report.txt

@meamy
Copy link
Owner

meamy commented Nov 18, 2020

It looks like the error report may have been cut off, I'm only seeing warnings (of which feynman generates many).

The latest commit removes the old-time dependency, so that may help. It seems stack doesn't index parsec3-numbers which is a slightly more annoying dependency to remove.

@clzoc
Copy link
Author

clzoc commented Nov 18, 2020

It is useful. Thank you for your kindness and patience.

@clzoc
Copy link
Author

clzoc commented Nov 19, 2020

I am happy to run Feynman successfully now. I have installed a Debian Linux system on Oracle VM VirtualBox. After download essential tools and export them to environment PATH, two executable files named 'feynopt' and 'feynver' have been create. Then i was able to operate quantum circuits files such as .qc and .qasm. It is obvious that the problem is depend on Windows system. Maybe it is a simple and stupid problem,but i am really happy to solve it. In addition, i just can't imagine to get your patient response and help, i am grateful for that. In the end, if you agree, i want to close the issue after two days.

@meamy
Copy link
Owner

meamy commented Nov 19, 2020

Great! Glad to hear you got it working. I'll close this now, though I'll open another issue anyway to remind myself to get stack working.

@meamy meamy closed this as completed Nov 19, 2020
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