Civil Engineering Design functions
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Civil Engineering Design functions
I tried it in linux and it gives me this other error
run import ...
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 165, in Activated
File "/usr/lib/freecad/Mod/geodata/geodat/__init__.py", line 2, in <module>
import geodat.import_aster
File "/usr/lib/freecad/Mod/geodata/geodat/import_aster.py", line 23, in <module>
import geodat.geodat_lib
File "/usr/lib/freecad/Mod/geodata/geodat/geodat_lib.py", line 11, in <module>
import cv2
No module named cv2
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
run import ...
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 165, in Activated
File "/usr/lib/freecad/Mod/geodata/geodat/__init__.py", line 2, in <module>
import geodat.import_aster
File "/usr/lib/freecad/Mod/geodata/geodat/import_aster.py", line 23, in <module>
import geodat.geodat_lib
File "/usr/lib/freecad/Mod/geodata/geodat/geodat_lib.py", line 11, in <module>
import cv2
No module named cv2
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Civil Engineering Design functions
in this case open computer vision version 2 package is requireddisenator wrote:I tried it in linux and it gives me this other error
No module named cv2
see http://opencv.org/
or
http://askubuntu.com/questions/447409/h ... for-python
my idea was to rework the workbench:
if packages are missed the rest of the workbench should work
and only a notification should appear that something will not run.
give me some days.
Re: Civil Engineering Design functions
Sorry but now give me this error
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 165, in Activated
File "/usr/lib/freecad/Mod/geodata/geodat/__init__.py", line 2, in <module>
import geodat.import_aster
File "/usr/lib/freecad/Mod/geodata/geodat/import_aster.py", line 26, in <module>
import gdal
No module named gdal
Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 165, in Activated
File "/usr/lib/freecad/Mod/geodata/geodat/__init__.py", line 2, in <module>
import geodat.import_aster
File "/usr/lib/freecad/Mod/geodata/geodat/import_aster.py", line 26, in <module>
import gdal
No module named gdal
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Civil Engineering Design functions
look for the gdal python package
it's always the same procedure if you get a message like 'No module named xyz'
look for xyz at https://pypi.python.org/pypi
or google for python xyz
it's always the same procedure if you get a message like 'No module named xyz'
look for xyz at https://pypi.python.org/pypi
or google for python xyz
Re: Civil Engineering Design functions
Thanks a lot is what I'm doing but I'm new to linux and what I find escapes my understanding, I still keep trying
Re: Civil Engineering Design functions
You get used to it i'm a mac user and even i can handle itdisenator wrote:Thanks a lot is what I'm doing but I'm new to linux and what I find escapes my understanding, I still keep trying
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Civil Engineering Design functions
good to know there is an active mac user, so I can add more sophisticated moduls for special tasksJee-Bee wrote:You get used to it i'm a mac user and even i can handle itdisenator wrote:Thanks a lot is what I'm doing but I'm new to linux and what I find escapes my understanding, I still keep trying
Re: Civil Engineering Design functions
As long as my very old macbook (2008) can handle itmicroelly2 wrote:good to know there is an active mac user, so I can add more sophisticated moduls for special tasks
Re: Civil Engineering Design functions
I have already managed to make it work in linux THANK YOU!
-
- Posts: 4
- Joined: Tue Mar 14, 2017 3:01 pm
Re: Civil Engineering Design functions
Hello,
I am using freecad 0.17 and I am having problems with geodat module.
First I encountered this problem:
At this point import_osm command works and the pop-up window shows up.
But it remains stuck at 0% forever.
How can i fix this?
Thank you
Regards
Francesco
I am using freecad 0.17 and I am having problems with geodat module.
First I encountered this problem:
To overcome this problem, I silenced line 83 in miki.py since it seemed to be <<# a test method>>Running the Python command 'Import OSM Map' failed:
Traceback (most recent call last):
File "<string>", line 186, in Activated
File "C:\19_FREECAD\FreeCAD_0.17.10490_x86_dev_win\Mod\geodata\geodat\import_osm.py", line 667, in dialog
import geodat.miki as miki
File "C:\19_FREECAD\FreeCAD_0.17.10490_x86_dev_win\Mod\geodata\geodat\miki.py", line 83, in <module>
YourSpecialCreator=Animation.createManager
name 'Animation' is not defined
At this point import_osm command works and the pop-up window shows up.
But it remains stuck at 0% forever.
How can i fix this?
Thank you
Regards
Francesco
- Attachments
-
- geodata_0perc.JPG (190.33 KiB) Viewed 2513 times
-
- miki_line83.JPG (80.86 KiB) Viewed 2513 times