-
Notifications
You must be signed in to change notification settings - Fork 198
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
Installation #213
Comments
That sounds like commercialhaskell/stackage#2759 . I thought it was fixed in newer |
@b1g3ar5 the best I can do given the information you provided is run the instructions from our README to the letter and let you spot the difference between my output below and the one you get. It really is better to over-communicate than under.
The test command after that is working too. |
Thanks for the quick reply. Here is my version of the above. There are 2 differences - I need sudo on the docker calls and stack tells me to add --allow-different-user. I wonder if it's these permissions sthat are causing the problem...
|
I suspect different filesystem permissions and running things as root could do it. Did you consider making docker accept jobs from non-root users? At least temporarily to see if it makes a difference? |
I ran as root and I didn't need sudo or get prompted for --allow-different-user, but I still got the same error...
It's a shame because I was hoping not to have to use python... N |
You have to upgrade stack:
And ensure that the upgraded stack version is actually on the PATH and being used with |
I'm facing the exact same error with stack 1.9.3 I think that installing tensorflow or tensorflow-gpu should be trivial. I too use sudo and --allow-different-user. Using things like docker to install tf should be secondary and focus should be on "cabal install tensorflow-gpu-1.13.1", a simple no-brainer installation. |
I also prefer simple things. Unfortunately TF is not a simple system to integrate with. The stack recipe is used by our CI so we know it works. Some things I don't know off-hand how to solve: protoc dependency, tensorflow dependency. Both are outside of Haskell ecosystem and aren't first class in Cabal. They are somewhat manageable in docker and that's why we use it. I'm open to merging any PRs making |
I followed your installation instructions but when I call:
stack --docker --docker-image=$IMAGE_NAME setup
I get:
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: "bytestring--lt-0_10_4""
Any ideas?
Thanks.
N
PS: stack --version = 1.7.1
The text was updated successfully, but these errors were encountered: