Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-02-18 01:36:45

hossein
Member
Registered: 2020-02-18
Posts: 3

code_aster now requires Python 3.5 or higher!

I am trying to install:
aster-full-src-14.4.0-1.noarch.tar.gz
but I receive this error:
code_aster now requires Python 3.5 or higher!

I have python 3.6.9 installed right now (attached a file from the terminal shows the error and my python version).
I appreciate any advice which can resolve it.


Attachments:
1.png, Size: 68.73 KiB, Downloads: 39

Offline

#2 2020-02-18 08:48:07

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 151

Re: code_aster now requires Python 3.5 or higher!

Hello,

you have to write python3 setup.py


mecour

Offline

#3 2020-02-20 23:56:01

hossein
Member
Registered: 2020-02-18
Posts: 3

Re: code_aster now requires Python 3.5 or higher!

Hello,

Thank you. I did it and it worked. Everything after installation is ok except aster14.4.0:



Installation of   : aster 14.4.0
Destination       : /opt/aster
Elapsed time      : 134.09 s
                                                                     
*** Exception None raised : None
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4




I attached setup.log file.
Do you know how can I resolve that?

Regards


Attachments:
setup.log, Size: 1.11 MiB, Downloads: 38

Offline

#4 2020-05-03 23:57:01

Duc Vu
Member
Registered: 2020-04-03
Posts: 6

Re: code_aster now requires Python 3.5 or higher!

Hello Hossein,

I've got the same problem with you, everything is ok and already installed except aster 14.4. Have you solved this problem?

--------------------------------------------------------------------------------
     SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------

 Installation of   : hdf5 1.10.3
Destination       : /opt/aster/public/hdf5-1.10.3
Elapsed time      : 96.84 s
                                                                      [  OK  ]
 Installation of   : med 4.0.0
Destination       : /opt/aster/public/med-4.0.0
Elapsed time      : 78.43 s
                                                                      [  OK  ]
 Installation of   : gmsh 3.0.6
Destination       : /opt/aster/public/gmsh-3.0.6-Linux
Elapsed time      : 0.08 s
                                                                      [  OK  ]
 Installation of   : scotch 6.0.4
Destination       : /opt/aster/public/scotch-6.0.4
Elapsed time      : 18.55 s
                                                                      [  OK  ]
 Installation of   : astk 2019.0
Destination       : /opt/aster/lib/python3.6/site-packages
Elapsed time      : 0.37 s
                                                                      [  OK  ]
 Installation of   : metis 5.1.0
Destination       : /opt/aster/public/metis-5.1.0
Elapsed time      : 19.99 s
                                                                      [  OK  ]
 Installation of   : tfel 3.2.1
Destination       : /opt/aster/public/tfel-3.2.1
Elapsed time      : 207.65 s
                                                                      [  OK  ]
 Installation of   : mumps 5.1.2
Destination       : /opt/aster/public/mumps-5.1.2
Elapsed time      : 89.17 s
                                                                      [  OK  ]
 Installation of   : homard 11.12
Destination       : /opt/aster/public/homard-11.12
Elapsed time      : 0.71 s
                                                                      [  OK  ]
 Installation of   : aster 14.4.0
Destination       : /opt/aster
Elapsed time      : 263.74 s
                                                                      
*** Exception None raised : None
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
 Installation of   : Code_Aster + 10 of its prerequisites 
Destination       : /opt/aster
Elapsed time      : 782.35 s
                                                                      [  OK  ]

I attach my log file here.

Thanks.

Offline

#5 2020-05-03 23:59:14

Duc Vu
Member
Registered: 2020-04-03
Posts: 6

Re: code_aster now requires Python 3.5 or higher!

Here the logfile


Attachments:
setup.log, Size: 1.11 MiB, Downloads: 14

Offline

#6 2020-05-10 04:05:53

Duc Vu
Member
Registered: 2020-04-03
Posts: 6

Re: code_aster now requires Python 3.5 or higher!

Hello,

I've resolved my issue, I think that the problem was the version of numpy is not compatible (it's failed the sanity check).
I removed and reinstalled it with pip3 and it works very well.

Last edited by Duc Vu (2020-05-10 04:06:23)

Offline