- Posts: 1
- Thank you received: 0
Post installation / problème pour ouvrir des images / Paramétrage de Python ?
- stephhubert
- Topic Author
- Offline
- New Member
-
Less
More
11 months 1 week ago #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 to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22007
- Thank you received: 3
11 months 1 week ago #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 to join the conversation.
6 months 2 weeks ago #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
Please Log in to join the conversation.
Time to create page: 0.071 seconds
