.egg file while installing in windows

I was unable to figure out how to install PythonAPI. There is suppose to be some .egg file somewhere and the installation command could not find it.

When you’re in PythonAPI folder, run pip install carla/. Make sure you are running on Python 3.7

Building wheels for collected packages: carla
Building wheel for carla (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\abjawad\AppData\Local\Continuum\anaconda3\envs\p37\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\abjawad\AppData\Local\Temp\pip-req-build-teyossdm\setup.py’"’"’; file=’"’"‘C:\Users\abjawad\AppData\Local\Temp\pip-req-build-teyossdm\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\Users\abjawad\AppData\Local\Temp\pip-wheel-qj_oqz6p’
cwd: C:\Users\abjawad\AppData\Local\Temp\pip-req-build-teyossdm
Complete output (612 lines):
- source/libcarla/libcarla.cpp
- dependencies/include/carla\Buffer.cpp

I am getting this. tried installing pip install carla in a new env with python 3.7 too.


From the directory where CARLA was installed / extracted do:

cd PythonAPI/carla/dist
easy_install carla-VERSION.egg