Search found 999 matches

Go to advanced search

by peterl94
Thu Jan 03, 2019 1:43 pm
Forum: Install / Compile
Topic: Py3 Mac app for testing
Replies: 19
Views: 1164

Re: Py3 Mac app for testing

1. when you create the environment use an additional constraint: blas=*=openblas Good to know, thanks. 2. conda ships static libs and shared libs together. I didn't copy the whole environment. I adapted the "MakeMacBundleRelocatable.py" script, which uses otool to only copy referenced libraries. 3....
by peterl94
Thu Jan 03, 2019 6:39 am
Forum: Developers corner
Topic: Porting to python3
Replies: 940
Views: 90824

Re: Porting to python3

Found the problem. Not sure why it is not a problem for other platforms. diff --git a/src/Mod/Test/TestPythonSyntax.py b/src/Mod/Test/TestPythonSyntax.py index f529c5e78..f30536689 100644 --- a/src/Mod/Test/TestPythonSyntax.py +++ b/src/Mod/Test/TestPythonSyntax.py @@ -11,7 +11,7 @@ def test_python_...
by peterl94
Thu Jan 03, 2019 6:25 am
Forum: Install / Compile
Topic: Py3 Mac app for testing
Replies: 19
Views: 1164

Re: Py3 Mac app for testing

chrisb wrote:
Wed Jan 02, 2019 7:14 pm
I sometimes get the error message
I'll see what I can find. I wonder why it is not a problem on linux.
by peterl94
Thu Jan 03, 2019 6:24 am
Forum: Install / Compile
Topic: Py3 Mac app for testing
Replies: 19
Views: 1164

Re: Py3 Mac app for testing

sgrogan wrote:
Wed Jan 02, 2019 11:22 pm
I think it's mostly libmkl, similar on Win.
Indeed! ~580MB.
by peterl94
Wed Jan 02, 2019 2:45 pm
Forum: Developers corner
Topic: Porting to python3
Replies: 940
Views: 90824

Re: Porting to python3

fixes the problem (note the b at the beginning) Thanks, that did fix it. There is one more: Traceback (most recent call last): File "/Users/peter/FreeCAD/install/FreeCAD.app/Contents/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/Users/peter/FreeCAD/install/FreeCAD.app/C...
by peterl94
Wed Jan 02, 2019 7:02 am
Forum: Install / Compile
Topic: Py3 Mac app for testing
Replies: 19
Views: 1164

Py3 Mac app for testing

Thanks to the great work looo has done with conda packaging, I was able to put together a mac app using python 3.6. I only used conda for installing the dependencies and compiled the app manually. Eventually it would be good to be able to create an app from the freecad conda package. Anyway, here is...
by peterl94
Wed Jan 02, 2019 6:12 am
Forum: Developers corner
Topic: Porting to python3
Replies: 940
Views: 90824

Re: Porting to python3

Are you guys aware of this? Got this error first time testing a macOS py3 build: memoryview: a bytes-like object is required, not 'str' Traceback (most recent call last): File "<string>", line 66, in Initialize File "/Users/peter/FreeCAD/install/FreeCAD.app/Contents/Mod/OpenSCAD/OpenSCADUtils.py", l...
by peterl94
Sat Dec 22, 2018 3:17 pm
Forum: Developers corner
Topic: Release of 0.18
Replies: 780
Views: 78330

Re: Release of 0.18

yorik wrote:
Sat Dec 22, 2018 3:11 pm
Yeah this is a problem indeed. What could we do about it?
I haven't tried it myself, buy I'm pretty sure looo has conda working for macOS.
by peterl94
Sun Nov 25, 2018 12:30 am
Forum: Install / Compile
Topic: [conda] compile calculix for osx and windows
Replies: 27
Views: 1188

Re: [conda] compile calculix for osx and windows

I've always just used the homebrew package built using this formula: https://github.com/brewsci/homebrew-sci ... lix-ccx.rb
by peterl94
Sat Oct 27, 2018 4:44 pm
Forum: Developers corner
Topic: Release of 0.18
Replies: 780
Views: 78330

Re: Release of 0.18

FYI, the project at work that is taking up all my time and brain space has a deadline of Jan 1st, so as long as 0.18 is released after that, I’ll have time to get the macOS situation in order.

Go to advanced search