Closed ghost closed 8 years ago
hi kengcher,
Are you running on OSX or Linux?
Hi,
I am also hitting the same error, I guess because 'cached_phymem' may be deprecated. This is on Linux CentOS 6.7. Is there a workaround?
Temporarily uninstalling psutil works as then metAMOS install script downloads and use its own compatible version.
metAMOS has only been tested with a specific psutil version, the next release should update to the most recent version. Closing as workaround is to let metAMOS install compatible version.
Hey All, I realize this issue has been closed, but I'm still experiencing troubles with the psutil version. The stated version of psutil for metAMOS is 0.6.1, although the above messages suggest there would have been an update to accommodate newer versions. I'm on psutil 3.4.2 and am seeing the "cached_phymem" error at runtime with runPipeline. Any suggestions? I'm on a cluster environment so changing the psutil version backward is slightly less trivial than on a local system. Thanks!
You could try installing your own copy of python and changing your PATH to use your version.
Just to comment that this issue is not resolved and the version of psutil currently in use should be mentioned in the required versions in README page.
The version requirements are documented: http://metamos.readthedocs.io/en/v1.5rc3/content/installation.html
Hi
I am trying to install metAMOS but ran into this error:
~/software/metAMOS-1.5rc3> python INSTALL.py core <>
Selected to install workflowName: CORE.
Will automatically install:
Pysam
Setuptools
Fastqc
Matplotlib
Metavelvet
Lap
Kronatools
Cython
Sra
Velvet
Velvet-Sc
Kraken
Psutil
Uniprot
Amos
Numpy
Traceback (most recent call last):
File "INSTALL.py", line 511, in
mem = utils.getAvailableMemory(settings)
File "/nfs/homeserver/phylosopher/u/ksoh/software/metAMOS-1.5rc3/src/utils.py", line 1283, in getAvailableMemory
cacheusage = psutil.cached_phymem()
AttributeError: 'module' object has no attribute 'cached_phymem'