0

In macos I did not receive that error, in Windows I had to install Microsoft Visual Studio but on Linux I do not know how to solve this.

The error shows after I type to the terminal:

pip install qpsolvers

I tried many ways and I ask for help.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
  • Please share the error you get on Linux. Have you installed `build-essential`? – frippe Jan 31 '22 at 13:09
  • Please edit your question to show Ubuntu version → *Edit* → https://stackoverflow.com/posts/70926421/edit ........... Example Ubuntu 20.04 : `pip install qpsolvers` → "Successfully installed qpsolvers-1.8.0". – Knud Larsen Jan 31 '22 at 21:39
  • 1
    Please provide enough code so others can better understand or reproduce the problem. – Community Feb 10 '22 at 04:39

1 Answers1

0

Try installing g++; this should work:

apt-get install g++

This worked for me:

conda install -c conda-forge gxx
Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77
CH0z3n-1
  • 1
  • 1