Coder Social home page Coder Social logo

how to run carie about caire HOT 16 CLOSED

esimov avatar esimov commented on August 18, 2024
how to run carie

from caire.

Comments (16)

esimov avatar esimov commented on August 18, 2024

It's explained in the readme file. Use the CLI tool.

from caire.

esimov avatar esimov commented on August 18, 2024

Select the folder you have just created by installing the package and run the go install command from there. So in your case cd $GOPATH/src/github.com/esimov/caire/cmd/caire

from caire.

esimov avatar esimov commented on August 18, 2024

Have you reached github.com/esimov/caire/cmd/caire ?

from caire.

esimov avatar esimov commented on August 18, 2024

This means it's working. Follow the readme file, all the details are there.

from caire.

esimov avatar esimov commented on August 18, 2024

And have you tried to run go install from the cmd/caire folder? This will install the binary file under $GOPATH/bin folder. Can you check if it's there?

from caire.

esimov avatar esimov commented on August 18, 2024

This meas the $GOPATH/bin folder is not exported. You have to run or add these two lines into windows environment variables.

$ export GOPATH="$HOME/go"
$ export PATH="$PATH:$GOPATH/bin"

Follow this article for guidance: https://golang.org/doc/install

from caire.

esimov avatar esimov commented on August 18, 2024

Yes, but you have to do in the Windows way. Just follow along the above article and it will help.

from caire.

esimov avatar esimov commented on August 18, 2024

It's strange. Which Go version have you installed?

from caire.

esimov avatar esimov commented on August 18, 2024

You changed the $GOROOT, but on the windows system environment it remained the old values, this is why you have receiving these errors. Run go env to check the existing settings and update with the new path. https://stackoverflow.com/questions/20458796/unrecognized-import-path-with-go-get

from caire.

esimov avatar esimov commented on August 18, 2024

It opens and closes instantly because you have to provide at least an input and output file, so you should run it from the terminal.

from caire.

esimov avatar esimov commented on August 18, 2024

It's pretty self-explanatory: you need to provide an input and an output file, exactly as it's stated in the documentation. Also why you are not using the executable file?

from caire.

esimov avatar esimov commented on August 18, 2024

Is there OneDrive involved in any way?

from caire.

shravanvj avatar shravanvj commented on August 18, 2024

No its not

from caire.

esimov avatar esimov commented on August 18, 2024

Can you list the the current directory structure from where you are trying to run the command?

from caire.

esimov avatar esimov commented on August 18, 2024

Checking your Go environment i see that it is not configured correctly.

Normally $GOPATH should be something like GOPATH="C:\Path\ToYourLocal\GoProjects\Directory". Currently GOPATH is set to C:\Go\bin which is not correct. It should be like C:\Users\Shravan\Go.

Inside this folder you should create a src folder, then once you go get the caire project you will have a new folder defined as github.com\esimov\caire. So the final path should be: C:\Users\Shravan\Go\src\github.com\esimov\caire.

If you setup and configure Go correctly and if you are not using OneDrive (because there is an issue running Go on Windows10 using OneDrive: golang/go#22579) then everything should work. Also please list your directory content. Are you sure the image file exists? Another remark: do not mess up the linux and windows directory separators.

from caire.

esimov avatar esimov commented on August 18, 2024

Have you managed to run the app? I haven't received any feedback and i'm about to close this issue.

from caire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.