[firedrake] error installing PyOP2
Lawrence Mitchell
lawrence.mitchell at imperial.ac.uk
Wed Aug 5 09:50:28 BST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Justin,
On 04/08/15 23:05, Justin Chang wrote:
> Coming back to this.
>
> I believe I have puled the latest petsc, petsc4py, and PyOP2
> repositories onto my laptop. Following through with all the
> (re)installation, I come across this error when I run 'make test'
> in PyOP2:
>
> Error in atexit._run_exitfuncs:
Sorry for these continued pains!
So PyOP2 imports cPickle elsewhere, so I think this module most exist.
Plausibly the "six" module on your system is not sufficiently up-to-date.
Does the following fail:
python -c "from six.moves.cPickle import dumps"
If that works, I'm very confused, but I suspect it won't.
If it doesn't work, can you try installing an updated "six" module:
pip install --user six
and then go again.
Lawrence
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJVwc5PAAoJECOc1kQ8PEYvSFwIALqHqS606QbklFGoQmmlFTJL
zKzWvTk38907Jkz+028F5MrNSdrNAXSKUlkV/M90KWqBOKILk+n5mQfpz5P/rgbd
ql/h2JTQMMBre3M9McacgdlHT5KIfOYPhmZcOudcgHo1hX03luOY4fzWM+shGpv9
woEooMJoIKXfyyxfiz8GO4xHakE4xnfzEiy3gJBoD1X0PyBo/ItKXEnMYwBcEF/1
1/okUeJgmTI2y11CfA0zYpKCEMUkWa/ZK0iCD37tLnkawVtbc8s3+z/pKUeCnB2W
jWKh2713ECCPBDCWMybXRDQsu1zFZL9HGh/VToVMT+uV+7V8/hSknRWVzSjIJxo=
=gNYd
-----END PGP SIGNATURE-----
More information about the firedrake
mailing list