Details
-
Bug
-
Status: Closed
-
Low
-
Resolution: Fixed
-
None
-
None
-
ANY
-
Description
$ singularity run /cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/cc7\:amd64-d20200806 python -c 'import psutil' |
Traceback (most recent call last):
|
File "<string>", line 1, in <module> |
File "/usr/lib64/python2.7/site-packages/psutil/__init__.py", line 996 |
SyntaxError: Non-ASCII character '\xe2' in file |
/usr/lib64/python2.7/site-packages/psutil/__init__.py on line 997, but |
no encoding declared; see http://www.python.org/peps/pep-0263.html for |
details
|
This problem does not happen when running with docker.
We believe the problem is due to the fact that we modify the mtime of the python file while creating the singularity image.