-
Notifications
You must be signed in to change notification settings - Fork 6
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
ck install issue in Linux LXLE under Virtualbox on Windows7 #22
Comments
Thank you for your feedback, @ballalan! We encountered similar problem some time ago and it was related to an outdated pip version which couldn't handle installation to an "unusual" path (inside CK-TOOLS). May I ask you to upgrade your pip version and see if it solves the problem, please? We plan to automate this process in the future either by detecting a pip version inside CK and then giving you a proper warning instead of failing, or even by adapting to an old version and using another installation mechanism - that's how we gradually extend CK components based on such feedback! @ens-lg4 will look at such automation after the hackathon in Paris... |
This is the first time I have used virtualenv, so I am still finding my way. Please see the attached file called transcript.2.txt. I attempted to gain more control by reinstating the 'no-global-site-packages.txt' file and copying files, when necessary, into my Python3.6 virtualenv area. Despite this, I suspect that Python packages outside the virtualenv area are still being used. I attempted to update pip globally:$ sudo apt-get install python3-pip
|
CK is orthogonal to virtualenv - we use a separate "virtual" space for all new packages installed via CK (non-python or python) so that you don't mess up any of your existing installations, even binary ones! It seems that there is no problem with pip anymore and the error is not related to CK either, but somewhere in pyquil. We noticed before that it's sensitive to python version and you use a very new one (if I am correct): 3.6.7. Maybe there some incompatibility inside pyquil ... I will let @ens-lg4 answer how to check that since I didn't work with this package ... |
@ballalan Do you actually need to run in a Linux VM? The workflow should work under Windows. |
I'm using a VM to protect my base machine from software version chaos. Working through the instructions on https://github.com/ctuning/ck-rigetti Any ideas? Thanks, Alan Ball |
Hi Alan, please try:
We will need to check why this repo has not been pulled in automatically. |
Thanks. Your suggestion let me make progress to running a qvm-server and trying the pyquil-demo program. A new problem arose. Logs attached. Thanks, Alan Ball qvm.server.log.txt](https://github.com/ctuning/ck-quantum/files/2967237/qvm.server.log.txt) |
Hello,
I am trying to install rigetti software on Linux LXLE (debian based) by following the instructions here:
https://github.com/ctuning/ck-quantum/blob/master/module/challenge.vqe/README.md
and here: https://github.com/ctuning/ck-rigetti
At this line in the instructions:
$ ck install package:lib-pyquil-multiversion --force_version=2.1.0
I encountered an error:
Installing pyquil to '/home/ballalan/CK-TOOLS/lib-pyquil-2.1.0-compiler.python-3.6.7-linux-64/python_deps_site/lib/python3.6/site-packages' ...
ERROR: Can not combine '--user' and '--prefix' as they imply different installation locations
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Error: installation failed!
I am using python3.6.7 and virtualenv
I have renamed the file 'no-global-site-packages.txt' to address an earlier issue.
I attach a file containing the full output of the failing command.
[By the way, I saw the same error last week when trying to install the IBM qiskit software at this command:
ck install package:lib-python-qiskit --force_version=0.6.1
Any ideas?
Regards, Alan Ball
ck.install.out.txt
The text was updated successfully, but these errors were encountered: