Skip to content

Installation issue: py-matplotlib #11396

@ThrashinVictim

Description

@ThrashinVictim

I have Python 3.7.3

When I try spack install py-matplotlib
I get

"py-matplotlib requires python version 3.5:, but spec asked for 2.7.15"

If I try to install using
spack installl py-matplotlib ^[email protected]

I get this error.

640 /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2
/ld: /usr/local/lib/libpython3.7m.a(bytesobject.o): relocation R_X8
6_64_32 against `_Py_NoneStruct' can not be used when making a shar
ed object; recompile with -fPIC
641 /usr/local/lib/libpython3.7m.a: could not read symbols: Bad value

642 collect2: error: ld returned 1 exit status
643 error: command '/opt/rh/devtoolset-2/root/usr/bin/gcc' failed with
exit status 1

I am new to spack and any help would be appreciated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions