perfectly-balanced / PathBench

Benchmarking Platform for Classic and Learned Path Planning Algorithms.
Other
94 stars 19 forks source link

Error running on Ubuntu (Parallels) #78

Open EmberManYT opened 1 year ago

EmberManYT commented 1 year ago

I'm completely new to this, and I'm getting an error trying to run this on Ubuntu 22.04 on a Mac through Parallels. sklearn was deprecated so I installed scikit-learn, which is the only change I made

python3 src/main.py -v gives the following:

line 128, in _get_shape
    raise InvalidArgumentsError(
nptyping. error. InvalidArgumentsError: Unexpected argument '(typing. Any, typing.A ny, typing.Any)', expecting Shape[<ShapeExpression>] or Literal[<shapeExpression
>] or typing.Any.
Yikic commented 11 months ago

maybe you CAN try 'vim'

lijingze-counter commented 8 months ago

I directly used the deprecated sklearn and the same problem occurred. Has your problem been solved?

nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, typing.Any, typing.Any)', expecting Shape[] or Literal[] or typing.Any.

Yikic commented 8 months ago

yeah,the sklearn package has deprecated,you can pip install scikit-learn instead

fernandesdominic22 commented 5 months ago

Hi @uncobruce, I'm using python 3.8.10 on Ubuntu 20.04. I get this error when running python3 src/main.py -v:

line 128, in _get_shape
    raise InvalidArgumentsError(
nptyping.error.InvalidArgumentsError: Unexpected argument '(typing.Any, typing.Any, typing.Any)', expecting Shape[<ShapeExpression>] or Literal[<ShapeExpression>] or typing.Any.

I would greatly appreciate any help. Thanks