fair-research / bdbag

Big Data Bag Utilities
https://fair-research.org
Apache License 2.0
49 stars 23 forks source link

python 3.x #12

Closed edeutsch closed 6 years ago

edeutsch commented 6 years ago

Tried running on Python 3.6.0 and got this error:

File "C:\Users\zsun\AppData\Local\Programs\Python\Python36-32\lib\site-packages\bagit_profile.py", line 65 print "Cannot retrieve profile from ", self.url ^ SyntaxError: Missing parentheses in call to 'print'

mikedarcy commented 6 years ago

It appears you have the wrong bagit-profiles-validator dependency installed. You need to install the BDDS forked version here: http://github.com/ini-bdds/bagit-profiles-validator.

You should also ensure that you have the correct bagit-python installed as well, from here: http://github.com/ini-bdds/bagit-python.

Running python setup.py install should have handled installing these dependencies for you. However, if you already had bagit-profiles-validator installed, it could cause problems. You might want to try uninstalling bagit-profiles-validator, bagit-python, and bdbag and then reinstalling just bdbag. You can use pip uninstall to do this or just go into your Python lib\site-packages and delete all references to the aforementioned modules you find there.

edeutsch commented 6 years ago

okay, thanks, sorry about the mixup, we'll check to see if that is the problem.