cocacrave
cocacrave

Reputation: 2633

Sublime Text Anaconda Invalid Syntax

I'm getting an Invalid Syntax Error at line 4 using @ operator:

from numpy import array
a = array([1, 2, 3, 4])
b = array([5, 6, 7, 8])
c = a @ b

But the code works. How do I fix/ignore this error settings?

Upvotes: 1

Views: 958

Answers (1)

Darth Kotik
Darth Kotik

Reputation: 2351

I assume your Anaconda doesn't know you're using python3.5, assuming python2 apparently, so this syntax is invalid. You can use set interpreter command to set it to python3.5. You can also set it in configuration to persist setting

Upvotes: 2

Related Questions