You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(env) (base) C:\Users\AAA>python
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
import urx
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\AAA\env\lib\site-packages\urx_init_.py", line 4, in
from urx.urrobot import RobotException, URRobot # noqa
File "C:\Users\AAA\env\lib\site-packages\urx\urrobot.py", line 9, in
from urx import urrtmon
File "C:\Users\AAA\env\lib\site-packages\urx\urrtmon.py", line 16, in
import math3d as m3d
File "C:\Users\AAA\env\lib\site-packages\math3d_init_.py", line 21, in
from .transform import Transform, PoseVector
File "C:\Users\AAA\env\lib\site-packages\math3d\transform.py", line 156, in
class Transform(object):
File "C:\Users\AAA\env\lib\site-packages\math3d\transform.py", line 528, in Transform
ApTs: typing.Union[np.ndarray, tuple[PositionVector]],
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Steps for solving this issue
a) https://www.anaconda.com/download (Download new anaconda e.g.:3.11)
b) python -m virtualenv .venv -p python3.9
c) .\env\Scripts\activate
d) download the repository.
e) unzipped the folder
f) python setup.py install
g) python (and test import urx)
(.venv) D:\URX_VENV\python-urx-master>python
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(env) (base) C:\Users\AAA>python
Python 3.7.6 (default, Jan 8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: