-
Notifications
You must be signed in to change notification settings - Fork 16
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
[car_node-1] ModuleNotFoundError: No module named 'car_dynamics.models_jax #5
Comments
Hi, It seems the issue arises because ROS2 is not recognizing the Python interpreter path, which prevents it from locating the necessary car_dynamics module. Here’s a solution to explicitly add the Python interpreter path for ROS2:
These steps will help ROS2 locate the necessary Python modules. We’ve also updated our README to reflect these setup instructions. |
I tried the above, but it didn't help on my environment. It seems like colcon / ros / setup.py is not installing the car_dynamics library internally properly. On my machine
Notice how site-packages is empty. However, I was able to go past the error by doing this.
|
I encountered the same issue, and neither of the above methods could resolve it. My Install folder is also empty. |
Could you try installing pip install -U colcon-common-extensions |
I tried this command, but it seems it didn't solve the problem. |
A solution please |
To solve this issue I have added in the car_dynamics/setup.py the following sub-directories in packages list:
And then run However, I have another error now:
I have checked that nvidia-cudnn-cu12 is installed in anycar env. |
I tried to install all packages by conda, but I encontered with another error
Looks like ShardedDeviceArray attribute is deprecated and it is needed downgrade jax version. @WENLIXIAO-CS could you, please, output the list of all python packages and its versions from your environment? Full output:
|
I installed all packages but it still did not work,I even could not find out what is wrong
|
hi,I have solved this by reinstall the Transformer Engine from branch 4e7caa1 and build it from source. You can refer to the colsed issue of the author, he outlist the version of Cuda/Transformer |
When running
XLA_PYTHON_CLIENT_MEM_FRACTION=0.3 ros2 launch car_ros2 car_sim.launch.py
I get this traceback. I have ensured both ROS is installed and sourced, as well as the colcon ws.
I am in the process of troubleshooting this, but it seems like the car_dynamics module has not been installed in my environment. I have followed the instructions in README.md
I have verified it shows up in pip list
The text was updated successfully, but these errors were encountered: