Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation method not working #8

Open
SamarthH opened this issue May 15, 2022 · 1 comment
Open

Installation method not working #8

SamarthH opened this issue May 15, 2022 · 1 comment

Comments

@SamarthH
Copy link

Information

  • Qiskit Terra version:
  • Python version:
  • Operating system:

What is the current behavior?

Installation is via python3 -m pip install .
This leads to an uneditable install, and causes cython based modules to not work

Steps to reproduce the problem

Install with python3 -m pip install .
Run the example code

What is the expected behavior?

Cython based packages work

Suggested solutions

Replace installation command with python3 -m pip install -e .
This solves the issue

@biplab37
Copy link
Member

For common use editable option is not needed. The option is important for developer who would like to test the code while making changes to it.
The problem with the cython based module, if I can remember correctly, can be solved by running the installation command twice.

 python3 -m pip install .

I am not sure about the reason for this behaviour. Let me know if you find something and I will update the readme file accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants