-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Scenic requires Python > 3.8 causes conflict with CARLA's dependence on Python 3.7 #3917
Comments
Hey @AntiLibrary5, here is an egg file for windows and Python 3.8 (carla-0.9.11-py3.8-win-amd64), see if your problems are solved. This can be easily created if you are using CARLA from source but not from packages. Anyway, that indeed raises a problem, so we'll see if, from now on, it is viable to also put python3.8 eggs at our next releases. |
Hi, Indeed having the egg file for python3.8 in the packaged installation would be great since (at least for me due to storage constraints) building CARLA from source is a bit troublesome. For anyone with similar issue, after downloading the egg file, in your venv:
|
Can you provide py3.8 egg file for ubuntu 20.04 |
Hi @glopezdiest, sorry for disturbing you, |
Try renaming the .egg file with your python version. |
Many thanks for your advice, but this method is not work. Maybe the right way is generate the egg file from the source, but I an not sure how to create it through the Carla from source. |
CARLA version == 0.9.11
Python version == 3.8.8
Hi, I have been trying to use the scenic API for CARLA. But having followed the instructions at:
https://scenic-lang.readthedocs.io/en/latest/simulators.html#simulators
I run into error which of python version conflict.
Previously I have tried using Python 3.8 for CARLA but it didn't work, but worked only with v3.7. But now scenic's hard dependence on v3.8 is problematic. Is there a workaround to this problem?
I have been using CARLA with a conda venv with Python 3.7 and it works fine.
For scenic, I created a new venev with Python 3.8 and
Upon running: >> scenic [file-name]
I get the following error:
import carla as carla
File "c:\users\vaibh\anaconda3\envs\venv_scenic\lib\site-packages\carla-0.9.11-py3.7-win-amd64.egg\carla_init.py", line 8, in
from .libcarla import *
File "c:\users\vaibh\anaconda3\envs\venv_scenic\lib\site-packages\carla-0.9.11-py3.7-win-amd64.egg\carla\libcarla.py", line 7, in
bootstrap()
File "c:\users\vaibh\anaconda3\envs\venv_scenic\lib\site-packages\carla-0.9.11-py3.7-win-amd64.egg\carla\libcarla.py", line 6, in bootstrap
imp.load_dynamic(name,file)
File "c:\users\vaibh\anaconda3\envs\venv_scenic\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: Module use of python37.dll conflicts with this version of Python.
The text was updated successfully, but these errors were encountered: