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

Carla release 0.9.6 for windows doesn't have some folders especially the PythonAPI directory #1

Closed
DamnRicky opened this issue Oct 4, 2019 · 15 comments

Comments

@DamnRicky
Copy link

I think with certainty that something is missing in the folder when you unzip Carla's 0.9.6 release for windows (WindowsNoEditor), especially missing maps (HDMaps folder) and the PythonAPI folder. As it is impossible to change the map and to launch any client script without the error:
RuntimeError: rpc::rpc_error during call in function version

@Amin-Tgz
Copy link
Owner

Amin-Tgz commented Oct 4, 2019

HD maps are packed during packaging unreal project, all of them could be found in the content folder as a single .pak file.
for connecting carla with Python API, first clone carla source and then change directory to PythonAPI/carla
with a python3.6 environment run this command:

python setup.py install

after egg file created in dist folder, you are able to run example codes like manual_control.py

@mariek95
Copy link

mariek95 commented Oct 4, 2019

@Amin-Tgz
How did you manage to get the executable CarlaUE4.exe for the Carla version 0.9.6 for windows?
I successfully build the version 0.9.6 on my PC, but there is no CarlaUE4.exe.

@Amin-Tgz
Copy link
Owner

Amin-Tgz commented Oct 4, 2019

@mariek95 in Unreal-> File-> Package Project -> Package for windows x64 (shipping)
see in official docs

@DamnRicky
Copy link
Author

@Amin-Tgz Thanks! Maybe this information can be added directly to a guide.

@e270889o
Copy link

e270889o commented Oct 13, 2019

HD maps are packed during packaging unreal project, all of them could be found in the content folder as a single .pak file.
for connecting carla with Python API, first clone carla source and then change directory to PythonAPI/carla
with a python3.6 environment run this command:

python setup.py install

after egg file created in dist folder, you are able to run example codes like manual_control.py

What am I missing?

Traceback (most recent call last):
File "setup.py", line 124, in
ext_modules=get_libcarla_extensions(),
File "setup.py", line 84, in get_libcarla_extensions
libs = [x for x in os.listdir('dependencies/lib') if any(d in x for d in required_libs)]
FileNotFoundError: [WinError 3] El sistema no puede encontrar la ruta especificada: 'dependencies/lib'

setup.py says this

    # Search for files in 'PythonAPI\carla\dependencies\lib' that contains
    # the names listed in required_libs in it's file name

but PythonAPI\carla\dependencies\lib does not contains any dependencies folder

@roser-br
Copy link

Dear all,
I am currenlty facing the same problem as @e270889o exposed above!
Is there any tip on how to solve it? When should the dependencies folder be generated?
Thanks in advance!

@e270889o
Copy link

e270889o commented Dec 19, 2019 via email

@roser-br
Copy link

In the discord someone posted a egg file. So copypaste the API from the Linux release, then replace the egg for the one from the discord. Then install it with easy_install

thanks for your reply @e270889o! However, I wasn't able to find this egg file you refer to. Maybe you could redirect me to it? I've tried to use the egg file from 0.9.6 release but I get the following error now when doing easy_instal xxx.egg:

imagen

So it is unable to reach to the specific file....

Thanks again!

@e270889o
Copy link

e270889o commented Dec 20, 2019 via email

@roser-br
Copy link

Thanks a lot @e270889o! I was able to solve my problem!

@georgeliu233
Copy link

Where can I find the file :carla-0.9.6-py3.7-win-amd64.egg?

@roserbatlleroca
Copy link

@georgeliu233 check on Carla's channel in discord.org, you'll find the egg file there 😄

@georgeliu233
Copy link

@roserbatlle Thx a lot !!! 😄😄😄

@georgeliu233
Copy link

@roserbatlle Thanks again! I was able to successfully installed the egg file, but when I was running the example py file, it occurred the following incompatibility warnings in the control panel, and the e.g. automatic control.py seems to be ineffective:
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version = 0.9.6-16-gd1d9174a
WARNING: Simulator API version = 0.9.6-22-g2b120e37-dirty
How to solve such problem?

@roserbatlleroca
Copy link

@georgeliu233
I did encounter this warning as well, but I wasn’t a problem for me. Most of my development has been focused on manual_control.py and everything worked well :)

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

7 participants