External Email - Use Caution        

sorry for being non-tech, but how do I exactly do creating a conda venv with Python 3.6.
many thanks
aj

On Fri, Apr 16, 2021 at 9:56 PM Vishnu S <vishnudaboss@gmail.com> wrote:

        External Email - Use Caution        

Hi AJ,

So tensorflow 1.13.0 is looking for Python 3.6 as far as I know. Python >=3.7 only supports TF2. Can you try creating a conda venv with Python 3.6 and try again?

On Sat, 17 Apr 2021, 08:23 AJ, <ajcns1969@gmail.com> wrote:

        External Email - Use Caution        

Thank you so much for your help.
Here's the error:
MacBook-Pro-4:~ AJ$ fspython -m pip install tensorflow==1.15
Collecting tensorflow==1.15
  Using cached MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/fe/01/997a5d608162cf5371dae49e8cb68baaa5773b091a3e74576ea30dae51e6/tensorflow-1.15.0-cp36-cp36m-macosx_10_11_x86_64.whl
Requirement already satisfied: six>=1.10.0 in /Applications/freesurfer/7.1.0/python/packages (from tensorflow==1.15) (1.14.0)
Collecting keras-applications>=1.0.8 (from tensorflow==1.15)
  Using cached MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applications-1.0.8-py3-none-any.whl
Collecting tensorflow-estimator==1.15.1 (from tensorflow==1.15)
  Downloading MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/de/62/2ee9cd74c9fa2fa450877847ba560b260f5d0fb70ee0595203082dafcc9d/tensorflow_estimator-1.15.1-py2.py3-none-any.whl (503kB)
    100% |████████████████████████████████| 512kB 5.8MB/s
Collecting opt-einsum>=2.3.2 (from tensorflow==1.15)
  Downloading MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/bc/19/404708a7e54ad2798907210462fd950c3442ea51acc8790f3da48d2bee8b/opt_einsum-3.3.0-py3-none-any.whl (65kB)
    100% |████████████████████████████████| 71kB 13.9MB/s
Requirement already satisfied: numpy<2.0,>=1.16.0 in /Applications/freesurfer/7.1.0/python/packages (from tensorflow==1.15) (1.18.4)
Collecting absl-py>=0.7.0 (from tensorflow==1.15)
  Using cached MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/92/c9/ef0fae29182d7a867d203f0eff8296b60da92098cc41db33a434f4be84bf/absl_py-0.12.0-py3-none-any.whl
Collecting wrapt>=1.11.1 (from tensorflow==1.15)
  Using cached MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
dyld: lazy symbol binding failed: Symbol not found: _utimensat
  Referenced from: /Applications/freesurfer/7.1.0//python/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
  Referenced from: /Applications/freesurfer/7.1.0//python/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6



On Fri, Apr 16, 2021 at 12:45 PM Hoopes, Andrew <AHOOPES@mgh.harvard.edu> wrote:

Hi AJ,

 

Freesurfer ships its own python distribution, so it doesn’t matter what you have installed on your system. Can you let us know the specific version of macOS you are using and send the full error report from pip?

 

Thanks

Andrew

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of AJ <ajcns1969@gmail.com>
Date: Friday, April 16, 2021 at 11:56 AM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] error installing tensorflow

        External Email - Use Caution        

Hi,

I have python both versions of python installed:

MacBook-Pro-4:~ AJ$ python3 --version
Python 3.9.4
MacBook-Pro-4:~ AJ$ python --version
Python 2.7.10

 

when installing  fspython -m pip install tensorflow==1.13.1, I get the error:

dyld: Symbol not found: _utimensat
  Referenced from: /Applications/freesurfer/7.1.0//python/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

 

Is the issue that freesurfer is looking for python3?  I am not sure how to get past this installation of tensorflow?

Thank you for your help.

AJ

 

 

On Fri, Apr 16, 2021 at 12:58 AM Vishnu S <vishnudaboss@gmail.com> wrote:

        External Email - Use Caution        

Can you try downgrading to python 3.6 in a conda env? Python 3.7 support only TF 2.0 and higher. 

 

On Fri, 16 Apr 2021, 11:24 AJ, <ajcns1969@gmail.com> wrote:

        External Email - Use Caution        

Hi,

 

I am having trouble installing:  fspython -m pip install tensorflow==1.13.1

Not sure what the issue is.  Any help would be greatly appreciated.

best

AJ

Error message while installing:


dyld: lazy symbol binding failed: Symbol not found: _utimensat
  Referenced from: /Applications/freesurfer/7.1.0//python/bin/python3
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
  Referenced from: /Applications/freesurfer/7.1.0//python/bin/python3

  Expected in: /usr/lib/libSystem.B.dylib

 

 

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer