laptop and a wrench

Bug

In the ArcGIS Pro 2.0 Python window/command line, an error is produced when using the !=/(not equal to) logic; for example 2!=5 should return a "true", but it returns a syntax error. Also applies to variables, etc., not just integers. It is fine in ArcGIS Pro 1.4.1.

Zuletzt veröffentlicht: February 7, 2018 ArcGIS Pro
Bug-ID-Nummer BUG-000106421
EingereichtJuly 7, 2017
Zuletzt geändertAugust 18, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.0
BetriebssystemWindows OS
Behoben in VersionPro 2.1
StatusFixed

Workaround

Flip logic, use <> for "not equal to",(deprecated, so does not work in current Python alone but works in ArcGIS Pro), or run Python outside of ArcGIS Pro.

Schritte zur Reproduzierung

Bug-ID: BUG-000106421

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln