I've tried the new version but now I can't get the geoviewer to build.
I have an environment variable set as:
PYTHON=python3
When I request the python version I get:
carl_at_carl-HP-PC-570:~$ python --version
Python 3.8.10
I did make as
make PYTHON3=yes
It returns:
c++ -c geometryobject.cc -DUNIX -O4 -funroll-loops -g -DNDEBUG -D_DEBUG=0
-DTHREAD -Wall -Wcast-align -Wcast-qual -Wextra -Wformat -Wpointer-arith
-Wredundant-decls -Wshadow -Wno-write-strings -fwrapv -fstack-protector
-fpic -Ioptimizer -Iviewer -Idata -Igeometry -Igraph -Imath -Iutils -m64
-fno-strict-aliasing -I/usr/include/tcl8.6 -I-I/usr/include/python2.7
-I/usr/include/x86_64-linux-gnu/python2.7
geometryobject.cc:40:10: fatal error: Python.h: No such file or directory
40 | #include <Python.h>
I believe this worked for the previous version.
Sorry I don't have a very good understanding of Python and its versions. It
still seems to be picking up V2.7.
Carl
On Mon, Jun 13, 2022 at 5:10 AM <alfredo.ferrari_at_mi.infn.it> wrote:
> Dear all
>
> The experimental flair-2.3 python3 file have been updated, hopefully
> fixing the problem reported by Carl.
>
> Please download them again and let us know!
>
> > "An experimental port of flair-2.3 to python3 is also available ..."
> >
> > Here is my experience:
> >
> > Ubuntu 20.04
> > Python 3.8.10
> >
> > Flair starts up fine, reads input files, shows geometry.
> >
> > However, when I go to "Run", "Data", "Clean" I get:
> >
> > File "/usr/local/flairPy3/DataProcess.py", line 75, in _clean
> > os.remove(f)
> > FileNotFoundError: [Errno 2] No such file or directory
> >
> > During handling of the above exception, another exception occurred:
> >
> > Traceback (most recent call last):
> > File "/usr/local/flairPy3/FlairProcess.py", line 59, in clean
> > return self._clean()
> > File "/usr/local/flairPy3/DataProcess.py", line 80, in _clean
> > errno, strerror = sys.exc_info()[1]
> > TypeError: cannot unpack non-iterable FileNotFoundError object
> >
> > At this point, it has hung up.
> >
> > Carl
> >
>
>
>
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jun 16 2022 - 04:41:55 CEST