postcodes icon indicating copy to clipboard operation
postcodes copied to clipboard

Cannot import PostCoder

Open kevinxbrown opened this issue 6 years ago • 2 comments

I'm running Python 3.6, jupyter notebook, and done

pip install postcodes and also tried:

pip install git+git://github.com/e-dard/postcodes.git

But as soon as do "from postcodes import PostCoder" I get the error:

File "", line 4, in from postcodes import PostCoder

File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/postcodes.py", line 10 except URLError, e: ^ SyntaxError: invalid syntax

kevinxbrown avatar Apr 26 '19 10:04 kevinxbrown

I'm having the same issue. Any solutions?

Tej780 avatar May 17 '19 11:05 Tej780

Same... guessing this is no longer developed by the age of this!?

I get the same directly from a python3.8 cli as well, not just in jupyter.

jwhendy avatar Apr 04 '20 02:04 jwhendy