Install numpy and troubles
Nothing wrong but...
Once I needed in numpy
package on my laptop. I try to install as normal pip package by python3 -m pip install numpy
but unfortunatelly it generates errors like this:
Okay, said I, lets install by brew.
Brew and issues who comes from anniversary begins
Installing by brew will be without surprise things I. brew install numpy
and it was enough? Yes, but after run the python and imported package I encount another one issue:
>>>
>>>
:
1, in <>
,
^^^^^^^^^
:
>>>
>>>
>>>
:
1, in <>
,
:
>>>
:
1, in <>
,
:
>>>
:
1, in <>
,
:
>>>
>>>
>>>
>>>
After going to the install path I saw that each directory was empty!!! Crazy day. After googling I found some closed issue in brew github.
The final soultion was: brew link --overwrite numpy
. Why since 2017 nobody haven't fixed this part of broken code?!
Conclusions
If you're installing something from system maintained package be sure that your installation is correct. Use overrides, like virtual env
instead of brew.