cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Nonetype errors in NX Open/Python

Genius
Genius

I was able to setup the NX Open API with external Python libraries using Anaconda. The setup instructions are in another post. Please feel free to PM if there is anything unclear in that post.

Here is a list of packages that are compatible with the Python 3.3 interpreter

https://docs.continuum.io/anaconda/old-pkg-lists/2.3.0/py33

 

For the most part, I am able to get the numpy library and sympy library working properly. (numpy.array, numpy.dot, numpy.cross, sympy.are_coplanar, etc.)

 

However, this line of code keeps giving me a "'NoneType' object has no attribute 'logical_and'". What might be the issue? Every now and then some other numpy methods don't work properly like arccos

 

np.array_equal(np.array([1, 2]), np.array([1, 2]))

http://docs.scipy.org/doc/numpy/reference/generated/numpy.array_equal.html