When I am running my script in CMD
, it displays error:
ImportError: cannot import name 'floatbox' from 'easygui'
So I tried uninstalling and installing easygui
several times, but same result.
When I am running my script in CMD
, it displays error:
ImportError: cannot import name 'floatbox' from 'easygui'
So I tried uninstalling and installing easygui
several times, but same result.
Looks like you researched easygui
poorly and don't know options of it.
Easygui
doesn't have floatbox
option and I think it will come in next update: easygui 0.99
.
So you are trying impossible thing. Read docs at Easygui 0.98.1 Latest
NOTE: Remember to ask good question to get good quality answers. You can see tutorial here ===> How to ask good questions.
Easygui 0.98.1 does not have a floatbox. However, there is a simple solution, read the data as string and then convert it to float:
import easygui as eg
value = eg.enterbox(msg="Introduce a value")
value = float(value)