Need help with python
bah at bananmonarki.se
Sun Jan 29 19:21:14 UTC 2017
On 2017-01-28 17:28, Joseph Olatt wrote:
> On Thu, Jan 26, 2017 at 07:57:20PM +0100, Bernt Hansson wrote:
>> Hello list!
>> I'm trying to run this program http://flatcam.org/ it's made in python.
>> Got this same error whith py-pycam before it became a port.
>> So what did the maintainer do with pycam.
>> Pycam maintainer cc.
>> This error is from flatcam, last line was the same with pycam.
>> python2 FlatCAM.py
>> Traceback (most recent call last):
>> File "FlatCAM.py", line 3, in <module>
>> from FlatCAMApp import App
>> "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMApp.py", line
>> 22, in <module>
>> from ObjectCollection import *
>> line 2, in <module>
>> from FlatCAMObj import *
>> "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/FlatCAMObj.py", line
>> 7, in <module>
>> from camlib import *
>> File "/usr/home/bernt/nerladdningar/vebb/FlatCAM-8.5/camlib.py",
>> line 13, in <module>
>> from numpy import arctan2, Inf, array, sqrt, pi, ceil, sin, cos,
>> dot, float32, \
>> File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py",
>> line 142, in <module>
>> from . import add_newdocs
>> "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line
>> 13, in <module>
>> from numpy.lib import add_newdoc
>> "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line
>> 8, in <module>
>> from .type_check import *
>> line 11, in <module>
>> import numpy.core.numeric as _nx
>> line 14, in <module>
>> from . import multiarray
>> ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
>> /usr/local/lib/gcc49/libgfortran.so.3 not found
> It looks like this port/pkg is looking for GCC_4.9.0. You seem to have
> GCC 4.6.0 installed on your system.
It is not a port or package, yet. Had the same problem with pycam before
it became a port.
If i make a link to libgcc_s.so.1 in /usr/local/lib/gcc49 the program
works, and so did pycam.
So why is it not working with the /lib/libgcc_s.so.1 from the original
> My guess is that /usr/local/lib/gcc49/libgfortran.so.3 would be found
> if that is installed.
More information about the freebsd-questions