- International LinuxCNC Users
- Français
- Post installation / problème pour ouvrir des images / Paramétrage de Python ?
Post installation / problème pour ouvrir des images / Paramétrage de Python ?
- stephhubert
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
17 Nov 2025 20:08 #338572
by stephhubert
Post installation / problème pour ouvrir des images / Paramétrage de Python ? was created by stephhubert
Bonjour à toutes et tous,
Quand j'ouvre une image en .png, il apparaît ce message :
Traceback (most recent call last):
File "/usr/bin/image-to-gcode", line 34, in <module>
plus_inf = numpy.core.Inf
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 30, in __getattr__
attr = getattr(_core, attr_name)
File "/usr/lib/python3/dist-packages/numpy/_core/__init__.py", line 167, in __getattr__
raise AttributeError(f"Module {__name__!r} has no attribute {name!r}")
AttributeError: Module 'numpy._core' has no attribute 'Inf'. Did you mean: 'inf'?
D'où vient mon problème ?
Quelles perspectives pour corriger ?
Merci !
Quand j'ouvre une image en .png, il apparaît ce message :
Traceback (most recent call last):
File "/usr/bin/image-to-gcode", line 34, in <module>
plus_inf = numpy.core.Inf
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 30, in __getattr__
attr = getattr(_core, attr_name)
File "/usr/lib/python3/dist-packages/numpy/_core/__init__.py", line 167, in __getattr__
raise AttributeError(f"Module {__name__!r} has no attribute {name!r}")
AttributeError: Module 'numpy._core' has no attribute 'Inf'. Did you mean: 'inf'?
D'où vient mon problème ?
Quelles perspectives pour corriger ?
Merci !
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21503
- Thank you received: 7330
17 Nov 2025 20:35 #338576
by tommylight
Replied by tommylight on topic Post installation / problème pour ouvrir des images / Paramétrage de Python ?
Try dmap2gcode from
www.scorchworks.com/Dmap2gcode/dmap2gcode.html
-
The error seems to be dues to uppercase I letter where there should be a lower case letter i, but it seems to be in the software and might require editing the source code and issuing a pull request on GitHub.
www.scorchworks.com/Dmap2gcode/dmap2gcode.html
-
The error seems to be dues to uppercase I letter where there should be a lower case letter i, but it seems to be in the software and might require editing the source code and issuing a pull request on GitHub.
Please Log in or Create an account to join the conversation.
- lkt
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
12 Apr 2026 17:37 #345460
by lkt
Replied by lkt on topic Post installation / problème pour ouvrir des images / Paramétrage de Python ?
Hi,
funny thing, I had same problem, that's why I'm here.
See the output, especially last line:
AttributeError: Module 'numpy._core' has no attribute 'Inf'. Did you mean: 'inf'?
So, I edited line 34 in /usr/bin/image-to-gcode - changed .Inf --> .inf
It seems to be working
funny thing, I had same problem, that's why I'm here.
See the output, especially last line:
AttributeError: Module 'numpy._core' has no attribute 'Inf'. Did you mean: 'inf'?
So, I edited line 34 in /usr/bin/image-to-gcode - changed .Inf --> .inf
It seems to be working
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- International LinuxCNC Users
- Français
- Post installation / problème pour ouvrir des images / Paramétrage de Python ?
Time to create page: 0.068 seconds