Seeing that you're on Mac, `which raco` should help to confirm what version
of raco you have installed. (Interestingly, raco doesn't seem to support
the `--version` flag, which I think it probably should. `racket --version`
does work, but it's possible, albeit unlikely, that you could be have a
raco that doesn't match your racket.)

If the version is wrong, the most likely place to have changed your path on
Mac would be in "~/.bash_profile". I personally recommend creating a file
in "/etc/paths.d/", which adds it for all users: e.g. `sudo echo
"/Applications/Racket v7.0/bin" >/etc/paths.d/racket`.

-Philip


On Tue, Oct 2, 2018 at 9:53 PM James Platt <jbiomant...@gmail.com> wrote:

> I'm just now getting back to this after returning from Racketcon.  I ran
> `raco setup` as the user and again as root and it did not solve the
> problem.  So then I tried `raco setup -c` but this gave permission errors
> (unlike the previous commands).  so I ran `sudo raco setup -c' and then
> `sudo raco setup'.  I still get the same error.  Perhaps it's a matter of
> having a path misconfigured somewhere, but where?
>
> On Sep 28, 2018, at 9:33 PM, Tom Gillespie wrote:
>
> > The compiled versions of all your modules are stale. One way to fix this
> is to run `raco setup`. On my system I have to run it as root, but you may
> be able to run it as the user that installed Racket.
> >
> > On Friday, September 28, 2018 at 5:49:21 PM UTC-7, James wrote:
> > I just tried upgrading to Racket 7 on one of my machines (macOS 10.11.6)
> and I get the error shown below in DrRacket.  I thought I should mention it
> since I am probably not the only one.  I installed with the obvious method,
> which is to just drag the new Racket folder over to applications as it
> indicates in the disk image.  Did I miss some standard set of instructions
> for upgrading?  This happens any time I try to run something from DrRacket.
> >
> > read (compiled): wrong version for compiled code
> >   compiled version: 6.10
> >   expected version: 7.0
> >   in: rkt/compiled/main_rkt.zo
> >
> > James
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to