Closed GHOSCHT closed 10 months ago
Hmm, I see. It worked with d7f9ae23350e7705f37c776ebf92963ed663c43a (with nix develop .#carla-py
), but in main, it fails. I'll look into that later.
It was my mistake again. The flake contains packages named carla-py-VERSION
and a devShell named carla-py
. When I was adding multiple package versions to the flake, I mistakenly added VERSION suffix also to the devShell example in the README, which was wrong.
In the future, I'll probably rename the devShell and allow having multiple versions of it as well. For now, just use nix develop .#carla-py
. It is hardcoded to use CARLA 0.9.15.
Hey it's me again. First of all thanks for the quick answer right before Christmas.
Right now I'm trying to get the python module from this flake to work. I tried both 0.9.14 and 0.9.15 by running e.g. this in the repo-root to get the example python devshell:
I am able to get into the shell as expected. Logs:
However when I enter the interpreter with
python
I cannot use the "carla" module:It looks like somehow the packaging of the module changed which stops python from recognizing it. When running
help("modules")
inside the interpreter, "carla" is nowhere to be seen in the list of present modules. I also tried using the module in the dev shell of my own project, but I got the same error.