# Issues to compile PyFR-1.4.0

**URL:** <https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112>\
**Category:** General\
**Created:** [22 June 2016 13:53 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112 "2016-06-22T13:53:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonio\_Garcia-Uceda](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Antonio\_Garcia-Uceda](https://pyfr.discourse.group/u/Antonio_Garcia-Uceda)\
**Post date:** [22 June 2016 13:53 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112/1 "2016-06-22T13:53:52Z")

</div>

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

```auto
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'

```

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [22 June 2016 13:58 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112/2 "2016-06-22T13:58:40Z")

</div>

Hi Antonio,

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

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Antonio\_Garcia-Uceda](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Antonio\_Garcia-Uceda](https://pyfr.discourse.group/u/Antonio_Garcia-Uceda)\
**Post date:** [22 June 2016 14:11 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112/3 "2016-06-22T14:11:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [22 June 2016 14:13 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112/4 "2016-06-22T14:13:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Antonio\_Garcia-Uceda](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Antonio\_Garcia-Uceda](https://pyfr.discourse.group/u/Antonio_Garcia-Uceda)\
**Post date:** [22 June 2016 14:38 UTC](https://pyfr.discourse.group/t/issues-to-compile-pyfr-1-4-0/112/5 "2016-06-22T14:38:11Z")

</div>

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
