-
Notifications
You must be signed in to change notification settings - Fork 749
Getting started page installation from source terra is incorrect #1624
Comments
To build/install Qiskit terra from source you will need to install the rust compiler. If you read through the error message you pasted it says that the rust compiler was not found:
The instructions on building from source in the terra specific contributing guide: mentions this. Basically you just use rustup to install the rust compiler and if you rerun pip it should work then. It does look like the hosted documentation on installing from source here: https://qiskit.org/documentation/getting_started.html#install-qiskit-terra is wrong and doesn't mention this. I definitely updated this in #1439, it must have gotten lost in a subsequent documentation refractor. We should fix that so the instructions actually work. |
After the installation of rust compiler, the build process is successfully done! I read "getting started" but could not check carefully "CONTRIBUTING.md". |
Ok cool, I'm glad you got it working. I'm going to reopen this issue to track the incorrect getting started guide. We can close it again when we fix the getting started page, because what is there is inaccurate. |
I understand. |
In Qiskit#1439 we updated the install from source documentation to reflect recent (as in the last year) changes to the build process and ensure the documentation was correct for installing from source. However, in Qiskit#1507 where some of the documentation was refactored these changes were inadvertadntly delete. This commit restores the correct source installation instructions from Qiskit#1439 so that the hosted docs correctly document how to build and install qiskit from source. Fixes Qiskit#1624
* Fix install from source docs In #1439 we updated the install from source documentation to reflect recent (as in the last year) changes to the build process and ensure the documentation was correct for installing from source. However, in #1507 where some of the documentation was refactored these changes were inadvertadntly delete. This commit restores the correct source installation instructions from #1439 so that the hosted docs correctly document how to build and install qiskit from source. Fixes #1624 * Update docs/getting_started.rst * Remove unnecessary pip install from aer instructions
* Fix install from source docs In Qiskit/qiskit-metapackage#1439 we updated the install from source documentation to reflect recent (as in the last year) changes to the build process and ensure the documentation was correct for installing from source. However, in Qiskit/qiskit-metapackage#1507 where some of the documentation was refactored these changes were inadvertadntly delete. This commit restores the correct source installation instructions from Qiskit/qiskit-metapackage#1439 so that the hosted docs correctly document how to build and install qiskit from source. Fixes Qiskit/qiskit-metapackage#1624 * Update docs/getting_started.rst * Remove unnecessary pip install from aer instructions
* Fix install from source docs In Qiskit/qiskit-metapackage#1439 we updated the install from source documentation to reflect recent (as in the last year) changes to the build process and ensure the documentation was correct for installing from source. However, in Qiskit/qiskit-metapackage#1507 where some of the documentation was refactored these changes were inadvertadntly delete. This commit restores the correct source installation instructions from Qiskit/qiskit-metapackage#1439 so that the hosted docs correctly document how to build and install qiskit from source. Fixes Qiskit/qiskit-metapackage#1624 * Update docs/getting_started.rst * Remove unnecessary pip install from aer instructions
* Fix install from source docs In Qiskit/qiskit-metapackage#1439 we updated the install from source documentation to reflect recent (as in the last year) changes to the build process and ensure the documentation was correct for installing from source. However, in Qiskit/qiskit-metapackage#1507 where some of the documentation was refactored these changes were inadvertadntly delete. This commit restores the correct source installation instructions from Qiskit/qiskit-metapackage#1439 so that the hosted docs correctly document how to build and install qiskit from source. Fixes Qiskit/qiskit-metapackage#1624 * Update docs/getting_started.rst * Remove unnecessary pip install from aer instructions
Informations
What is the current behavior?
I would like to contribute to the qiskit development. First of all, I built qiskit-terra from the source.
During the qiskit installation process, when I run this command
pip install .
it returns the following error.Steps to reproduce the problem
https://github.com/Qiskit/qiskit-terra
python -m venv ~/.venv/qiskit-dev
pip install .
What is the expected behavior?
Complete the installation without any errors.
Suggested solutions
After this error, I checked the qiskit-terre directory and found a few python libraries (wheel, wheel pyproject.toml setuptools setuptools-rust)missing. I installed these libraries, but the result was no different.
The text was updated successfully, but these errors were encountered: