Sounds like you have conflicting numpy versions on your system and Python is getting confused about which one to load. Things to try:
-
Check you environment variables, to make sure you have nothing like
PYTHONPATHdefined that would confuse Python (since you are using the Condapython, you don’t want it to get confused with some otherpythoninstalled on your system). -
Since you are on Linux, try using the system Python instead of Conda. Do
ENV["PYTHON"]="python"; Pkg.build("PyCall")and use your system’s packaging tools to install Matplotlib if it is not installed already.