[proFit-list] Problem with Python
Jeremy Harbinson
jeremy_harbinson at me.com
Thu Nov 17 08:12:20 CST 2022
Hi Kurt,
I installed an M1 compatible Python and Profit is now curve-fitting as it used to.
Thanks for your help,
All the best,
Jeremy
> On 16 Nov 2022, at 21:54, pro Fit Support <profit at quansoft.com> wrote:
>
> Dear Jeremy
>
> When you run pro Fit natively on M1, it can only link to a Python that’s M1-native, too. You have two options:
>
> 1) Install M1 Python version. For example, you can download Python 3.9 or 3.10 from python.org <http://python.org/> (and then use pip3 to install numpy/scipy if you need them), or use homebrew (brew.sh).
>
> 2) As a short-time workaround, you can run pro Fit under Rosetta, i.e. emulate it in intel code. To do so, open the Applications folder in the Finder. There, select pro Fit, and the choose Get Info from the File menu. In the window that comes up, check Open Using Rosetta, then restart pro Fit. You should now be able to link to an Intel version of Python.
>
> In the long run, 1) is definitely the better option.
>
> Hope this helps. Do let us know if you have any further questions.
>
> Best
>
> Kurt
> QuantumSoft
>
>> On 16 Nov 2022, at 20:17, Jeremy Harbinson <jeremy_harbinson at me.com> wrote:
>>
>> Hi,
>> I would like to use Python as the programming language for Profit and I have an M1 MacBook Pro with a clean install of everything including Profit 7.1. I have installed Anaconda and though I have tried to update to the latest M1 version of Anaconda using 'conda install anaconda=2022.05’ the Python files in /Users/jeremy_m1/opt/anaconda3/bin are still Intel files. My libpython3.9.dylib file is also Intel.
>>
>> When I try to select the Anaconda installation as my Python I get a message that 'This python library does not have the correct CPU architecture’. Does this mean I need to get an M1 Python installation? Or does the message mean something else?
>> Thanks and all the best,
>> Jeremy Harbinson
>>
>>
>> _______________________________________________
>> proFit-list mailing list
>> proFit-list at quantum-soft.com
>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20221117/d999d58e/attachment.html>
More information about the proFit-list
mailing list