Issues to compile PyFR-1.4.0

Dear all,

I’d be very grateful if you could help me out with the following:

I’m trying to compile the last version PyFR-1.4.0, by launching the “setup.py” script. However at some point it crashes with the output shown below.

In my understanding, the problem comes when trying to install the project under the Python’s packages directory.

I have to indicate that I’m not using “virtualenv” but a Python version 3.3.6 installed locally, together with all needed packages to run PyFR.

Also need to indicate that since PyFR-1.1.0 I haven’t updated the version of the code. This last one compiles OK.

Please let me know if you know of possible causes of this issue.

Thanks a lot in advance.

Best regards,
Antonio

byte-compiling build/bdist.linux-x86_64/egg/pyfr/writers/vtk.py to vtk.cpython-33.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyfr/writers/native.py to native.cpython-33.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyfr/writers/__init__.py to __init__.cpython-33.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyfr/util.py to util.cpython-33.pyc
byte-compiling build/bdist.linux-x86_64/egg/pyfr/polys.py to polys.cpython-33.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
copying pyfr/__main__.py -> build/bdist.linux-x86_64/egg/
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying pyfr.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/pyfr-1.4.0-py3.3.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing pyfr-1.4.0-py3.3.egg
Removing /develop/home/antonio/Software_Local/localLibs/Python-3.3.6/build/lib/python3.3/site-packages/pyfr-1.4.0-py3.3.egg
Copying pyfr-1.4.0-py3.3.egg to /develop/home/antonio/Software_Local/localLibs/Python-3.3.6/build/lib/python3.3/site-packages
error: [Errno 22] Invalid argument: '/develop/home/antonio/Software_Local/localLibs/Python-3.3.6/build/lib/python3.3/site-packages/pyfr-1.4.0-py3.3.egg'

Hi Antonio,

Is the directory where you are working on a networked file system of
some description?

Regards, Freddie.

Dear Freddie,

Thanks a lot for you reply.

Indeed the workng directory is under a networking file system. I can’t tell you details though since I;m not aware of it, but I can ask.

Please let me know whether you need any further info.

Thanks once more.

Best regards,
Antonio

Hi Antonio,

My understanding is that Python sometimes has trouble installing to
network shares. However, using setup.py you should be able to get it to
build the relevant .egg for you and then copy this egg manually to the
relevant directory.

Regards, Freddie

Hi Freddie,

Indeed it manages to create a .egg file (seemingly binary) under the directory dist/.

So you say I should copy manually this file to the drectory /lib/python3.3/site-packages, right?

However I still need the executable pyfr in the directory /bin, which is created later at running the setup.py script.

How can I then complete the installation?

Thanks once more.

Best regards,
Antonio