2
$\begingroup$

I have been trying to install Qiskit in a virtual Python environment via pip through Miniconda command prompt on Windows 10. The issue is with using Microsoft Visual Studio tools such cl, nmake, etc. The command prompt cannot find them. However, I followed the Qiskit's installation instructions and I have installed Microsoft Visual C++ Redistributor 2015.

I tried to find to add Microsoft Visual C++ Redistributor 2015 as a path variable but couldnt find its location (not in C:/programfiles (x64)/Microsoft Visual Studio).

Any help is greatly appreciated!!!!

Screenshot of the error

$\endgroup$
3
  • $\begingroup$ What version of python are you running in your virtual env? $\endgroup$ Commented Feb 3, 2020 at 21:34
  • $\begingroup$ Welcome to Quantum Computing SE! I take it that these are the installation instructions you're referring to? (just to check so I can edit the link in for completeness) $\endgroup$
    – Mithrandir24601
    Commented Feb 3, 2020 at 22:09
  • $\begingroup$ I am using Python 3.8.1 and am indeed using those instructions. $\endgroup$
    – Berk
    Commented Feb 7, 2020 at 1:45

1 Answer 1

1
$\begingroup$

Try installing using

pip install wheel

Refer here.

Wheels are the new standard of Python distribution and are intended to replace eggs. Support is offered in pip >= 1.4 and setuptools >= 0.8.

$\endgroup$
1
  • $\begingroup$ And also do install Cmake and specify environmental variable,for C compiler which is located in control panel, which inturn would help you. $\endgroup$ Commented Feb 5, 2020 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.