help! I'm on windows and clj/clojure command doesn't seem to work
@andreas.scheinert Are you in cmd.exe or powershell?
cygwin?
not sure about that one. deps.exe from the clojure-scoop may work there if the official doesn't
the official is known to work in powershell only I think
I ran the install script for linux here: https://clojure.org/guides/getting_started
lein works without problems in cygwin
when I type: I get$ clj Please install rlwrap for command editing or use "clojure" instead.
when i type "clojure"
$ clojure Error: Could not find or load main class clojure.main Caused by: java.lang.ClassNotFoundException: clojure.main
maybe post an issue on ask.clojure if no-one else responds here
or try in #tools-deps
thank you borkdude I will try that
I don't think any of the windows install methods work on cygwin
either WSL + linux stuff or Windows + powershell or scoop
Hi alex!
the path stuff is too wonky on cygwin I think
but ultimately I wanted to try gigasquids clj-python brdige and and in cygwin I already have it...
the good news is your powershell installer works
I have installed it
btw, the clj-python folks hang out in a zulip room and usually someone is available there for questions about it
but now when I want to use this deps comand I get an error: https://github.com/clj-python/clj-template
https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev
clj -Sdeps '{:deps {seancorfield/clj-new {:mvn/version "0.8.6"}}}' \
-m clj-new.create \
<https://github.com/clj-python/clj-template@2d615fcbea6a5a39321a9e192d3dcee6319719d1> \
appcompany.funapp
[2:42 PM]
I figured I remove all the \ and create a long single line of command, but then that still gives me:
[2:42 PM]
Error while parsing option "--config-data {:deps {seancorfield/clj-new {:mvn/version 0.8.6}}}": java.lang.NumberFormatException: Invalid number: 0.8.6the quoting stuff in windows is different
https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows#escaping-quotes
ah I have to add \"0.8.6\"
you are using double quotes, I will try that , thank you
Thanks a lot @alexmiller in the end I got it to work!
great!