Julia within Python - No module named 'dwave_sapi2
I am trying to use ThreeQ package (Julia extension) in PyCharm. I have already configured separate Python virtual environment in Anaconda (3.6) and set it as working environment for PyCharm. I've installed several dwave packages: dwave-cloud-client, dwave-neal, dwave-networkx, dwave-qbsolv and dwave-sytem. That allows me to work with DWave through SAPI successfully so far.
Trouble comes with Julia - I am a newbie, so maybe I missed some obvious things.. anyway I installed julia-1.1.1 and configured PyCharm to be running it. Looks like Julia itself is working fine. I downloaded ThreeQ package as in the instruction here: https://github.com/omalled/ThreeQ.jl and I set the path as below:
But when trying to run it, it said:
ERROR: InitError: PyError (PyImport_ImportModule
The Python package dwave_sapi2.local could not be found by pyimport. Usually this means
that you did not install dwave_sapi2.local in the Python version being used by PyCall.
PyCall is currently configured to use the Julia-specific Python distribution
installed by the Conda.jl package. To install the dwave_sapi2.local module, you can
use `pyimport_conda("dwave_sapi2.local", PKG)`, where PKG is the Anaconda
package the contains the module dwave_sapi2.local, or alternatively you can use the
Conda package directly (via `using Conda` followed by `Conda.add` etcetera).
Alternatively, if you want to use a different Python distribution on your
system, such as a system-wide Python (as opposed to the Julia-specific Python),
you can re-configure PyCall with that Python. As explained in the PyCall
documentation, set ENV["PYTHON"] to the path/name of the python executable
you want to use, run Pkg.build("PyCall"), and re-launch Julia.
So I changed Python distribution to be the same as the one that I am using in PyCharm (this conda env), but it throws the same error (with the correctly setup env). I tried to install dwave_sapi2 module, but it is not available in conda, PyCharm package manager, and when using pip it gives:
ERROR: Could not find a version that satisfies the requirement dwave_sapi2 (from versions: none)
ERROR: No matching distribution found for dwave_sapi2
Anyone who can help out?