Closed duncandewhurst closed 4 years ago
What is your Python version? It might be a feature of 3.6 and above.
On Thursday, November 28, 2019, Duncan Dewhurst notifications@github.com wrote:
I ran sudo pip3 install --upgrade ocdskit and now after running ocdskit I get the following exceptions:
exception "cannot import name 'auto'" prevented loading of ocdskit.cli.commands.combine_record_packages module exception "cannot import name 'auto'" prevented loading of ocdskit.cli.commands.combine_release_packages module exception "cannot import name 'auto'" prevented loading of ocdskit.cli.commands.compile module exception "cannot import name 'auto'" prevented loading of ocdskit.cli.commands.package_records module exception "cannot import name 'auto'" prevented loading of ocdskit.cli.commands.package_releases module
I tried sudo pip3 uninstall ocdskit and then sudo pip3 install ocdskit and I am still getting the same exceptions
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/open-contracting/ocdskit/issues/112?email_source=notifications&email_token=AAAGOX5UCVX3W5JWKF3CZP3QWBDWTA5CNFSM4JSZF2BKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H4YTEKA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGOX3GAHYXQIITI7FG7LDQWBDWTANCNFSM4JSZF2BA .
--
James McKinney
Head of Data Products and Services
+1-514-247-0223 | @mckinneyjames | skype: mckinney.james | timezone: EST
Reform is hard but you are not alone! Join our growing global community https://opencontracting.mobilize.io/registrations/groups/35297 today to connect to likeminded public contracting reformers from 50+ countries. www.open-contracting.org | follow us @opencontracting
[image: OC_logo_sig.png]
If you pip install 'ocdsmerge<0.5.10'
you can get rid of the error, but upgrading to 3.6 is preferred, as 3.5 is end-of-life in less than a year, and most of our tools assume >= 3.6.
Let me know if you need any help upgrading Python (a 5-15 minute operation). OCDS Kit is only Python 3.6 or greater.
Thanks James, I've upgraded to 3.6 and it's solved the issue.
It might be worth adding a note to the install instructions on https://ocdskit.readthedocs.io/en/latest/index.html?
Done in e4a26c4
I ran
sudo pip3 install --upgrade ocdskit
and now after runningocdskit
I get the following exceptions:I tried
sudo pip3 uninstall ocdskit
and thensudo pip3 install ocdskit
and I am still getting the same exceptions