-
Notifications
You must be signed in to change notification settings - Fork 3
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
losoto error #31
Comments
Can you turn off your conda installation? If that doesn't work, I would try the following modification, to use the system python.
diff --git a/Makefile b/Makefile
index eeb9d90..d16d650 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ SMALL_ARCHIVE=L570745_uv_first10.MS.tar.xz
.virtualenv/:
- virtualenv -p python2 .virtualenv
+ /usr/bin/virtualenv -p /usr/bin/python2 .virtualenv
.virtualenv/bin/cwltool: .virtualenv/
.virtualenv/bin/pip install -r requirements.txt |
[hspreeuw@fs5 prefactor-cwl]$ pip show virtualenv |
I removed both miniconda2 and miniconda3 from my PATH. File "", line 16, in File "/home/hspreeuw/prefactor-cwl/.virtualenv/build/html5lib/setup.py", line 54, in
AttributeError: 'module' object has no attribute 'MarkerEvaluation' Cleaning up... |
|
Excellent. Thanks.
More verbose ouptput:
|
@HannoSpreeuw I'm glad that worked.
|
Is that someting we can fix using pip? |
@HannoSpreeuw that a problem with the container or something within it |
You can request a fix at https://github.com/kernsuite/packaging/issues |
But why kernsuite? Couldn't it be prefactor?
|
That's a path within the container. It is true, could be a prefactor bug. |
@tammojan please comment. |
KERN-dev uses losoto 2.0, it looks like prefactor is not compatible with this release? |
KERN-3 still contains the old losoto, trying that one out now. |
[hspreeuw@fs5 ~]$ git clone [email protected]:EOSC-LOFAR/prefactor-cwl.git
Cloning into 'prefactor-cwl'...
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 714 (delta 25), reused 40 (delta 19), pack-reused 652
Receiving objects: 100% (714/714), 7.47 MiB | 1.27 MiB/s, done.
Resolving deltas: 100% (449/449), done.
[hspreeuw@fs5 ~]$ cd prefactor-cwl/
[hspreeuw@fs5 prefactor-cwl]$ make run-singularity
virtualenv -p python2 .virtualenv
Running virtualenv with interpreter /home/hspreeuw/miniconda2/bin/python2
New python executable in .virtualenv/bin/python2
Also creating executable in .virtualenv/bin/python
ERROR: The executable .virtualenv/bin/python2 is not functioning
ERROR: It thinks sys.prefix is u'/usr' (should be u'/home/hspreeuw/prefactor-cwl/.virtualenv')
ERROR: virtualenv is not compatible with this system or executable
make: *** [.virtualenv/] Error 100
[hspreeuw@fs5 prefactor-cwl]$ which pip
~/miniconda3/bin/pip
[hspreeuw@fs5 prefactor-cwl]$ which pip2
~/miniconda2/bin/pip2
[hspreeuw@fs5 prefactor-cwl]$ which pip3
~/miniconda3/bin/pip3
[hspreeuw@fs5 prefactor-cwl]$ which python
~/miniconda3/bin/python
[hspreeuw@fs5 prefactor-cwl]$ which python2
~/miniconda2/bin/python2
[hspreeuw@fs5 prefactor-cwl]$ which python3
~/miniconda3/bin/python3
The text was updated successfully, but these errors were encountered: