qiskit-community / qiskit-alt

High-performance Qiskit features backed by Julia. A Python front end to algorithms using Pauli and Fermionic operators implemented in Julia.
Apache License 2.0
13 stars 2 forks source link

qiskit_alt.project.ensure_init(calljulia='juliacall') terminates with an error #21

Open MozammilQ opened 2 years ago

MozammilQ commented 2 years ago

qiskit_alt.project.ensure_init(calljulia='juliacall') terminates with this error:

error

jlapeyre commented 2 years ago

Thanks @MozammilQ . I think your PR to julia_project should fix this.

When posting command line logs (That is IO from a command line interface), please use code quoting rather than a screenshot. For example, if you enter this:

```python
>>> import qiskit_alt
>>> qiskit_alt.project.ensure_init()
>>> Errors, errors.....

It displays like this:

```python
>>> import qiskit_alt
>>> qiskit_alt.project.ensure_init()
>>> Errors, errors.....

(Notice that the input is color coded correctly because it is python. The highlighting on the output is not so meaningful)

Also, use single quotes for inline code: qiskit_alt.project.ensure_init(calljulia='juliacall') terminates with this error:

jlapeyre commented 2 years ago

Can you tell us if https://github.com/jlapeyre/find_julia/pull/3 fixes the issue? (This will be find_julia v 0.2.7)

jlapeyre commented 2 years ago

See also this page: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax

jlapeyre commented 2 years ago

For completeness: I ran into the urllib problem when creating docker files. I believed it was particular to some fedora/docker interaction, so I fixed it only there

https://github.com/Qiskit-Extensions/qiskit-alt/blob/ae78f22029d8b7143460643682a2d6db956f5c90/docker_tests/Dockerfile2#L15

Apparently not. So the particular fix in the dockerfile is probably no longer necessary.

MozammilQ commented 2 years ago

Can you tell us if jlapeyre/find_julia#3 fixes the issue? (This will be find_julia v 0.2.7)

Yes, In my opinion, this fixes the issue.