![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hi experts,
I have installed s3 command using pip on openbsd 6.7 but when I use s3 command it gives following errors. openbsd# s3 File "/usr/local/bin/s3", line 131 print 'created S3 bucket %s' % (bucket) ^ SyntaxError: invalid syntax python --version Python 3.7.7 PS : I am not using AWS environment , I want to use S3 for our private cloud for uploading image to bucket. |
|
|||
![]()
That was last updated in 2015. The homepage is gone. I have to assume it was written for python 2 and not updated.
You could 'pip2.x install' it and run it with python2 but that has reached EOL and won't get security updates. You're probably better off finding a newer, maintained, s3 library/tool. |
|
|||
![]() Quote:
I tried to install s3 pkg with pip (pip3) , installation was successful but s3 command it self it throws an error. openbsd-nik# pip --version pip 19.1.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7) openbsd-nik# s3 --version File "/usr/local/bin/s3", line 131 print 'created S3 bucket %s' % (bucket) ^ SyntaxError: invalid syntax openbsd-nik# |
|
|||
![]()
Yes, that's the same thing you said in your original post. My response is the same. It will NOT work with python3.
|
|
|||
![]()
Just for the record, in case someone is interested in getting python modul versions (with grep you can get whatever modul you want):
Code:
pip list |
![]() |
Tags |
cloud, openbd 6.7, package, s3 |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keeping track of the pandemic from your OpenBSD command line | fvgit | OpenBSD General | 3 | 21st September 2020 05:04 PM |
DD command on OpenBsd | PapaParrot | OpenBSD General | 20 | 9th November 2018 02:56 PM |
OpenBSD find command -- exclude dot directory | gustaf | OpenBSD General | 2 | 26th June 2017 05:12 AM |
Error: Building midgetpack on OpenBSD? | ucharfli | OpenBSD Packages and Ports | 4 | 25th May 2017 10:13 AM |
Gnome 3.8 + OpenBSD 5.4 - error on login (GDM) | harishankar | OpenBSD Packages and Ports | 10 | 7th December 2013 05:42 PM |