El 7 feb 2020, a las 11:57, Wayne Boucher <[log in to unmask]> escribió:Oh boy, I hate when Linux distributions go wrong. Removing stuff by hand is fraught. I’d move it to some other directory rather than just point blank remove. Possibly the same with the numpy directory just so that you know it is all going to be fresh when you do a new install.WayneOn 7 Feb 2020, at 10:26, conejero <[log in to unmask]> wrote:Hi Wayne,This is the message after executing:/usr/bin/python -c "import numpy”Traceback (most recent call last):File "<string>", line 1, in <module>File "/usr/lib64/python2.7/site-packages/numpy/__init__.py", line 142, in <module>from . import coreFile "/usr/lib64/python2.7/site-packages/numpy/core/__init__.py", line 91, in <module>raise ImportError(msg.format(path))ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/usr/lib64/python2.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.I uninstalled numpy and reinstalled it again and the same error still appears.I looked into /usr/lib64/python2.7/site-packages/After numpy has been uninstalled, there is still a numpy folder and a file named numpy-1.4.1-py2.7.egg-info. It seems to be an old version. Should I remove it by hand?FranciscoEl vie, 07-02-2020 a las 10:06 +0000, Wayne Boucher escribió:That’s a bit worrying (!). Assuming that /usr/bin/python is using that lib64 library, then try:/usr/bin/python -c "import numpy”In theory that ought to give the same error message. In which case your numpy installation is broken. If not then some trampling (between libraries) is likely happening.WayneOn 7 Feb 2020, at 09:54, conejero <[log in to unmask]> wrote:Hi,I did what Wayne indicated. At analysis start, this is the message:---Model read finished. Duration 0.810622930527Model validity check skippedWARNING: Python NumPy module not installed or accessible.NumPy is required for CcpNmr automatic assignment andpeak separator routines.Traceback (most recent call last):File "/usr/local/bin/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/AnalysisGui.py", line 74, in <module>from ccpnmr.analysis.AnalysisPopup import AnalysisPopupFile "/usr/local/bin/ccpnmr/ccpnmr2.4/python/ccpnmr/analysis/AnalysisPopup.py", line 177, in <module>import numpyFile "/usr/lib64/python2.7/site-packages/numpy/__init__.py", line 133, in <module>from .version import git_revision as __git_revision__ImportError: cannot import name git_revision---FranciscoEl jue, 06-02-2020 a las 17:48 +0000, Gary Thompson escribió:To add It might be a good idea to post here what the stack trace is after waynes changesregardsGaryOn 6 Feb 2020, at 16:48, Wayne Boucher <[log in to unmask]> wrote:To find out specific details about the exception:Edit the file ccpnmr2.4/python/ccpnmr/analysis/AnalysisPopup.py .At line 176 you will find:try:
import numpy
HAVE_NUMPY = True
except:
HAVE_NUMPY = False
print ''
print 'WARNING: Python NumPy module not installed or accessible.'
print 'NumPy is required for CcpNmr automatic assignment and'
print 'peak separator routines.'
print ''At the bottom add a “raise” (indented like the print), so do:try:
import numpy
HAVE_NUMPY = True
except:
HAVE_NUMPY = False
print ''
print 'WARNING: Python NumPy module not installed or accessible.'
print 'NumPy is required for CcpNmr automatic assignment and'
print 'peak separator routines.'
print ‘'raiseThat will kill the interface (you will need to “ctrl D” to get out of the Python prompt) but will let us know why it doesn’t like numpy.WayneOn 6 Feb 2020, at 16:41, Francisco Conejero-Lara <[log in to unmask]> wrote:Python NumPy module not installed or accessibleTo unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1
To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1
To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1
To unsubscribe from the CCPNMR list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPNMR&A=1