Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'ezdxf.acc.matrix44' #178

Open
calquigs opened this issue Feb 18, 2025 · 2 comments
Open

No module named 'ezdxf.acc.matrix44' #178

calquigs opened this issue Feb 18, 2025 · 2 comments

Comments

@calquigs
Copy link

Hi,

I've got TagLab installed and running fine on my mac, loving it, but I am having an issue getting it set up on the Windows machines in the lab. I've got python 3.11.0 installed, and the install.py seems to execute with no problems, but when I run python.exe taglab.py I get the follwing error and traceback:

Traceback (most recent call last):
  File "‹stdin›", line 1, in ‹module>
  File "C:\Users \Admin \AppData \Local \Programs \Python\Python311\Lib\site-packages \ezdxf|_init_.py", line 35, in ‹module> 
    from ezdxf.Ildxf.validator import is_dxf_file, is_dxf_ stream
  File "C:\Users \Admin \AppData \Loca]\Programs \Python\Python311\Lib\site-packages\ezdxf\Ildxf\validator.py", line 28, in ‹module> 
    from .tagger import ascii_tags_loader, binary_tags_loader
  File "C:\Users \Admin AppData \Local \Programs \Python \Python311\Lib\site-packages ezdxf\Ildxf\tagger.py", line 6, in ‹module> 
    from .types import (
  File "C:\Users \Admin\AppData\Local \Programs \Python\Python311\Lib\site-packages\ezdxf\lldxf\types.py", line 27, in ‹module> 
    from ezdxf.math import Vec3
  File, "C:\Users\Admin \AppData\Local Programs \Python \Python311\Lib|site-packages \ezdxf \math _init_.py, line 8, in ‹module> 
    from ._ctypes import *
  File "C:\Users Admin AppData\Local \Programs \Python\Python311 \Lib\site-packages lezdxf math Lctypes.py", line 48, in ‹module> 
    from ezdxf.acc.matrix44 import Matrix44
ModuleNotFoundError: No module named 'ezdxf.acc.matrix44'

I get the same error if I try and call import ezdxf from within a python console.

@calquigs
Copy link
Author

Update: I couldn't find where ezdxf is called in TagLab.py, so I just commented out the import in line 92 and it seems to be running fine.

@maxcorsini
Copy link
Member

ezdxf is used to export DXF file. The rest will work. The strange thing is that if you have run install.py ezdxf should be installed. Have you changed the python interpreter or are you using a venv ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants