Closed dashesy closed 5 years ago
I had to install also -dev
for Python3.6 before cmake. In Ubuntu16:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
sudo apt-get install python3.6-dev
Interesting - are you using the miniconda setup outlined in INSTALL-Ubuntu.md ?
No I installed Python3.6 with apt. You are correct Miniconda would have been preferable, with no issues.
ok, cool, thanks for the info.
Btw the reason I try avoiding conda is that it ships its own libraries, that some times could cause hard to understand issues.
This is a warning for example, that I see when using conda environment:
Cannot generate a safe runtime search path for target debugCompiler because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libffi.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/ehsan/miniconda3/lib
Some of these libraries may not be found correctly
Why is
needed as a separate build instruction? If Python 3.6+ is found can we always build it?
I build with
and it succeeds, but then I get this error
The error is confusing, because there is clearly a
build
directory there and is also inFound
in the error message. So I do not know what is the error.