drf-forms / drf-schema-adapter

Making using Django with frontend libraries and frameworks DRYer
http://drf-schema-adapter.readthedocs.io/en/latest/
MIT License
157 stars 40 forks source link

No module named 'six' #27

Closed differentMonster closed 6 years ago

differentMonster commented 6 years ago

i am having this error

  File "C:\Users\_monster\Desktop\on_app\drf_api\lib\site-packages\drf_auto_endpoint\router.py", line 7, in <module>
    from .endpoints import Endpoint
  File "C:\Users\_monster\Desktop\on_app\drf_api\lib\site-packages\drf_auto_endpoint\endpoints.py", line 3, in <module>
    from six import with_metaclass
ModuleNotFoundError: No module named 'six'

some kind of module six is missing , no ideal what happen ? thank for the effort , really appreciate.

nanuxbe commented 6 years ago

Hi, what version of dango and drf are you using?

It used to be that six (python 2 vs 3 shims) was a Django dependency. I'm suspecting that if you're using Dango 2 six might simply not be installed.

Does everything work if you pip install six?

nanuxbe commented 6 years ago

Should be fixed by https://github.com/drf-forms/drf-schema-adapter/commit/68768a0f57416faad0aad627bec5bb0e0cab3963 Please feel free to re-open if this is not the case