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

AttributeError: 'list' object has no attribute 'ndim' #6

Open
zuntik opened this issue May 3, 2020 · 0 comments
Open

AttributeError: 'list' object has no attribute 'ndim' #6

zuntik opened this issue May 3, 2020 · 0 comments

Comments

@zuntik
Copy link

zuntik commented May 3, 2020

Hello,
This the full output of running the file "bezier.py"

Checking for collisions, 1 means none, 0 means collision
C1 and C2
Traceback (most recent call last):
  File "bezier.py", line 1814, in <module>
    print(_collCheckBez2Bez(c1, c2))
  File "bezier.py", line 1581, in _collCheckBez2Bez
    c1 = Bezier([x1, y1, z1])
  File "bezier.py", line 166, in __init__
    super().__init__(cpts=cpts, tau=tau, t0=t0, tf=tf)
  File "bezier.py", line 58, in __init__
    if cpts.ndim == 1:
AttributeError: 'list' object has no attribute 'ndim'

I'm using version python3.8 with version 1.18.4 of numpy.
This error also happens when running the code from the Examples folder

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

1 participant