-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Unable to import floppyforms.gis, geometry widgets not available #172
Comments
@foobarbaz2 How did you fix it? |
@foobarbaz2 How did you fix it? +1 |
Ran into the same issue. To figure out what wrong I edited floppyforms/init.py and removed the try/except on "from . import gis" so I could see what error I was actually getting. so this: became this:
This showed me the the "gdal" library wasn't installed. I tried install gdal with "pip install gdal", but I just ran into more issues about gdal not being installed. I eventually realized that the issue was that I needed to install gdal on my system, independent of python, and that Python makes use of it. I'm on macos, so that meant I needed to run:
Source: https://gis.stackexchange.com/questions/155403/installing-gdal-on-macosx I suspect others might be running into the same issue. My suggestion would be to install the gdal library on your system or remove the try/except around "from . import gis" so you can see what error you're actually getting. |
Running Running into the same error. Both
|
How can this warning be silenced/eliminated without having to brew-install an external package? |
See here for how to silence the warning without having to install anything. |
On Debian/Ubuntu source: https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/ |
/home/foo/anaconda2/envs/flightsayer/lib/python2.7/site-packages/floppyforms/init.py:16: UserWarning: Unable to import floppyforms.gis, geometry widgets not available
"Unable to import floppyforms.gis, geometry widgets not available")
Ok, I get that this happens on "from . import gis", but I don't understand what's going on.
(Everything worked fine until this morning, after I upgraded some stuff on my computer, and now I'm seeing this message and AHHHHH)
The text was updated successfully, but these errors were encountered: