Skip to content
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

pygame window doesn't open when launching the codes #9

Open
NiccoBonucci opened this issue Sep 23, 2024 · 1 comment
Open

pygame window doesn't open when launching the codes #9

NiccoBonucci opened this issue Sep 23, 2024 · 1 comment

Comments

@NiccoBonucci
Copy link

NiccoBonucci commented Sep 23, 2024

Good afternoon,
I'm having issues with the visualization of the pygame window; by following the steps (start the simulator with the "test_refined" map, then activating the environment and running the test.sh file) I only see the empty circuit and cannot see the car; this happens with all the codes I try, basically the code gets stuck after the "Hello from the pygame community" line, and the pygame window doesn't open. I also tried the other ways to start the simulator but i get the same problem, stuck after the pygame version used and "Hello from the pygame community". I'm sure the computer can handle the load because with the tutorial codes of standard CARLA the pygame window to drive the vehicle works.
Am I missing something? Can someone help me to understand how to solve the issue?
Thank you and have a good day.

@NiccoBonucci NiccoBonucci changed the title Not understanding how to visualize the cars Not understanding how to visualize the tests Sep 23, 2024
@NiccoBonucci NiccoBonucci changed the title Not understanding how to visualize the tests Not understanding how to visualize the pygame window and the car Sep 23, 2024
@NiccoBonucci NiccoBonucci changed the title Not understanding how to visualize the pygame window and the car pygame window doesn't open when launching the codes Sep 23, 2024
@NiccoBonucci
Copy link
Author

Good afternoon, I'm having issues with the visualization of the pygame window; by following the steps (start the simulator with the "test_refined" map, then activating the environment and running the test.sh file) I only see the empty circuit and cannot see the car; this happens with all the codes I try, basically the code gets stuck after the "Hello from the pygame community" line, and the pygame window doesn't open. I also tried the other ways to start the simulator but i get the same problem, stuck after the pygame version used and "Hello from the pygame community". I'm sure the computer can handle the load because with the tutorial codes of standard CARLA the pygame window to drive the vehicle works. Am I missing something? Can someone help me to understand how to solve the issue? Thank you and have a good day.

I think the main problem is that when I created the environment i had to exclude the pytorch and torchvision dependencies because the packages were not found, as shown here in the code:

$ conda env create -f environment_drift.yaml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • pytorch==1.1.0=py35_cuda10.0.130_cudnn7.5.1_0
  • torchvision[version='>=0.3.0',build=py35_cu10.0.130_1]

What could the solution be? I've tried to install the packages by themself, but there are version conflicts because the versions are old. Please help me as soon as you can, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant