Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Error on installation #32

Open
lcipolina opened this issue Mar 6, 2020 · 7 comments
Open

Error on installation #32

lcipolina opened this issue Mar 6, 2020 · 7 comments

Comments

@lcipolina
Copy link

Im getting this error on on pip install sumo web3d. Thanks!

sumo3D-error

@danvk
Copy link
Contributor

danvk commented Mar 6, 2020

I assume you're on Windows? Looks like this issue pypa/setuptools#1459

@lcipolina
Copy link
Author

Hello, thanks for your answer. I am using Ubuntu 18.

@zhrpaul
Copy link

zhrpaul commented Apr 1, 2020

I have the same problem and I'm on Windows. What can I do to solve it?

@henry87653
Copy link

I have the same problem and I'm on Ubuntu16.04. What can I do to solve it? Thx a lot!

@henry87653
Copy link

I'm on Ubuntu16.04 and came across the same problem. The following method works for me.

git clone https://github.com/sidewalklabs/sumo-web3d.git

open setup.py and replace

package_data={
        'static': 'sumo_web3d/static/*',
        'scenarios': 'sumo_web3d/scenarios/*',
        'scenarios.json': 'sumo_web3d/scenarios.json'
    },

with

package_data={
        'static': ['sumo_web3d/static/*'],
        'scenarios': ['sumo_web3d/scenarios/*'],
        'scenarios.json': ['sumo_web3d/scenarios.json']
    },

then in cmd line run:

python3 setup.py install

(in cmd, activate your venv and cd to where the setup.py is before running the command)

reference: ranaroussi/qtpylib#141

@bstouten
Copy link

I am on Windows 10 and python 3.7.7. In addition to henry87653's comment, in setup.py I also had to replace

'aiohttp>=2.2',

with

'aiohttp>=2.2, <4.0',

Without that change, "python setup.py install" would use aiohttp-4.0.0a1 in my case, resulting in "TypeError: Only async functions are allowed as web-handlers" when running sumo_web3d.py.

khan101101 added a commit to khan101101/sumo-web3d that referenced this issue May 12, 2020
change described in sidewalklabs#32   reverted back to original.
roireshef added a commit to roireshef/sumo-web3d that referenced this issue Jul 8, 2020
@mlclemente
Copy link

I could manage to install with both changes in setup.py suggested by henry87653 and bstouten

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants