-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ModuleNotFoundError: No module named 'carla' #1466
Comments
I double checked, it seems that I'm using Python 3.6 as CNTK does not support 3.7 yet. However, carla does not support 3.6? |
You need to import the carla, try to make sure the script include the
part. and make sure the |
In Ubuntu Bionic (18.04) and python 3.6 os.name reports as 'posix' |
Hey Guys |
@remitoudic - Thanks for the answer. I realized the same. I unzipped the distribution (based on my python version) I needed and placed in the my path. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I had a similar issue in a conda enviroment. This was my solution:
That solved it for me. I don't even need the egg-path-appending-stuff, which is happening at the beginning of every python-script, just |
You either need to write your script dirercty where you extracted carla. In that case the part Or change the path in A cleaner way would be to copy |
Did you guys check out sentdex's video? He uses: |
Thankyou! seems to import cleanly. Now to add to path.. |
Information as of 20 Nov. 2022. Related documents are this one and this one. In my case, carla installation worked in the following steps. I used Ubuntu 20.04, and Carla v0.9.13 in its stand alone mode.
|
Update as of Feb 18th 2023. You can directly execute |
For anyone facing this issue still, follow this link for a detailed solution:- |
OS: Windwos 10 18865
Carla: 0.9.4
Hi,
I encountered the error
ModuleNotFoundError: No module named 'carla'
when trying to execute the commandpython spawn_npc.py -n 80
as suggested by the document. After a little research, I become aware that I'll need to easy_install the .egg file in PythonAPI folder. However, it has a dependencies thatProcessing dependencies for carla==0.9.4
which made it fail again. What shall I do next?The text was updated successfully, but these errors were encountered: