-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unable to pull stimela with the command stimela pull #669
Comments
I believe Python 2.x is no longer supported, you need 3.5 or higher. (I am actually surprised you didn't get any errors at the installation stage, as there is a |
Yes uDocker (because of) and Python 2.x support has been removed for quite
some time now.
Podman, Singularity and Docker are available as back ends
…On Mon, Aug 24, 2020 at 11:17 AM Oleg Smirnov ***@***.***> wrote:
I believe Python 2.x is no longer supported, you need 3.5 or higher.
(I am actually surprised you didn't get any errors at the installation
stage, as there is a python_requires='>=3.5' statement in setup.py.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#669 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4RE6SRDNZEW3KEDM3HCLTSCIVZTANCNFSM4QJHDRYA>
.
--
--
Benjamin Hugo
PhD. student,
Centre for Radio Astronomy Techniques and Technologies
Department of Physics and Electronics
Rhodes University
Junior software developer
Radio Astronomy Research Group
South African Radio Astronomy Observatory
Black River Business Park
Observatory
Cape Town
|
How the installation ran thorugh without error is what I want to know! |
Look at the versions - I believe it is installing the last python2 version. |
Confirmed - 1.6.2 was the last release prior to dropping python2 support. If you want to save users from this, it may be necessary to delete the packages from PyPI. |
Yes this is the default intended pip behaviour. It ensures 2.x long term
support. However one should really not be using 2.x in this day and age.
|
Hi, Traceback (most recent call last): Now I am using anaconda2. Is this problem related to that? I am unable to figure it out from the error message. |
Yes. Use a virtual environment initialized as virtualenv venv3 -p python3
instead of anaconda
…On Mon, Aug 24, 2020 at 12:33 PM Arnab Chakraborty ***@***.***> wrote:
Hi,
I have now installed podman, buildah and then stimela in a centos machine
CentOS Linux release 7.4.1708 (Core).
The error remains same when running stimela pull -p :
*Traceback (most recent call last): File
"/home/Barcelona/anaconda2/bin/stimela", line 6, in import stimela File
"/home/Barcelona/.local/lib/python2.7/site-packages/stimela/init.py", line
30, in Path(LOG_HOME).mkdir(exist_ok=True) TypeError: mkdir() got an
unexpected keyword argument 'exist_ok'*
Now I am using anaconda2. Is this problem related to that? I am unable to
figure it out from the error message.
check the screen shots.
[image: stimela_sucess]
<https://user-images.githubusercontent.com/20695190/91034819-3d9a7d00-e623-11ea-81aa-d3b7bf8a6d10.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#669 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4RE6VGHVPD2WYR2GKECKLSCI6WFANCNFSM4QJHDRYA>
.
--
--
Benjamin Hugo
PhD. student,
Centre for Radio Astronomy Techniques and Technologies
Department of Physics and Electronics
Rhodes University
Junior software developer
Radio Astronomy Research Group
South African Radio Astronomy Observatory
Black River Business Park
Observatory
Cape Town
|
File "/home/Barcelona/stimela_venv/venv3/bin/stimela", line 14, in This error I get after installing with python3 instead on anaconda. |
It looks like your podman installation is incomplete. Can you try running
an image (e.g. Ubuntu 18.04) outside of stimela just to check that it runs
through?
…On Mon, Aug 24, 2020 at 12:56 PM Arnab Chakraborty ***@***.***> wrote:
File "/home/Barcelona/stimela_venv/venv3/bin/stimela", line 14, in
main.main([a for a in sys.argv[1:]])
File
"/home/Barcelona/stimela_venv/venv3/lib/python3.6/site-packages/stimela/main.py",
line 602, in main
_cmd(argv)
File
"/home/Barcelona/stimela_venv/venv3/lib/python3.6/site-packages/stimela/main.py",
line 324, in pull
podman.pull(image, force=args.force)
File
"/home/Barcelona/stimela_venv/venv3/lib/python3.6/site-packages/stimela/podman.py",
line 58, in pull
utils.xrun("podman", ["pull", "docker.io/"+image])
File
"/home/Barcelona/stimela_venv/venv3/lib/python3.6/site-packages/stimela/utils/xrun_poll.py",
line 189, in xrun
raise StimelaCabRuntimeError("{} returns error code
{}".format(command_name, status))
stimela.utils.StimelaCabRuntimeError: podman returns error code 125
This error I get after installing with python3 instead on anaconda.
I guess I need to install podman and buildah using this vertual env again.
Am I right?
Or is there something else?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#669 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4RE6SAEVPNPPJX2LUVJO3SCJBMHANCNFSM4QJHDRYA>
.
--
--
Benjamin Hugo
PhD. student,
Centre for Radio Astronomy Techniques and Technologies
Department of Physics and Electronics
Rhodes University
Junior software developer
Radio Astronomy Research Group
South African Radio Astronomy Observatory
Black River Business Park
Observatory
Cape Town
|
Hi,
I have installed the uDOCKER and stimela in a ubuntu machine with python 2.7. I just used pip install for both (check screen shots).
However, when I run stimela pull it is showing me error:
File "/home/arnab/anaconda2/bin/stimela", line 6, in
import stimela
File "/home/arnab/anaconda2/lib/python2.7/site-packages/stimela/init.py", line 30, in
Path(LOG_HOME).mkdir(exist_ok=True)
TypeError: mkdir() got an unexpected keyword argument 'exist_ok'
The text was updated successfully, but these errors were encountered: