except IOError as e during manual install with python
I am trying to install instant in an environment where I do not have sudo access.
Running the following command leads to the error message/ incomplete installation :
-------
$ python setup.py install --prefix=~/imranal
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/instant
copying instant/__init__.py -> build/lib/instant
copying instant/build.py -> build/lib/instant
copying instant/cache.py -> build/lib/instant
copying instant/
copying instant/config.py -> build/lib/instant
copying instant/inlining.py -> build/lib/instant
copying instant/locking.py -> build/lib/instant
copying instant/output.py -> build/lib/instant
copying instant/paths.py -> build/lib/instant
copying instant/
creating build/lib/
copying instant/
running build_scripts
creating build/scripts-2.5
copying and adjusting scripts/
copying and adjusting scripts/
changing mode of build/scripts-
changing mode of build/scripts-
running install_lib
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
from .output import *
SyntaxError: 'import *' not allowed with 'from .'
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
except OSError as e:
SyntaxError: invalid syntax
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
except Exception as e:
SyntaxError: invalid syntax
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
except IOError as e:
SyntaxError: invalid syntax
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
except os.error as e:
SyntaxError: invalid syntax
byte-compiling /uio/arkimedes/
File "/uio/arkimedes
except IOError as e:
SyntaxError: invalid syntax
running install_scripts
copying build/scripts-
copying build/scripts-
changing mode of /uio/arkimedes/
changing mode of /uio/arkimedes/
running install_data
running install_egg_info
Removing /uio/arkimedes/
Writing /uio/arkimedes/
-------
My intention is to install FEniCS. I am trying to follow the following guide :
http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu instant Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- imranal
- Solved:
- Last query:
- Last reply: