We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using anaconda python3.6, after pip install pygeometry and import geometry, error occurred. Both macOS and linux tested.
Please help
after looking at code, I found this project is totally python 2+, This is unacceptable since python 3 is more and more popular.....
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main_actual.py", line 27, in parse_contract_string_actual parseAll=True)[0] File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1632, in parseString raise exc File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1622, in parseString loc, tokens = self._parse( instring, 0 ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3378, in parseImpl loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3378, in parseImpl loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3395, in parseImpl loc, exprtokens = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3983, in parseImpl loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3386, in parseImpl loc, exprtokens = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3378, in parseImpl loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3717, in parseImpl return self.expr._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3378, in parseImpl loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3530, in parseImpl ret = e._parse( instring, loc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1529, in _parseCache value = self._parseNoCache(instring, loc, doActions, callPreParse) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 1379, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/pyparsing.py", line 3391, in parseImpl raise ParseSyntaxException._from_exception(pe) pyparsing.ParseSyntaxException: Expected {^ term | + term} (at char 10), (line:1, col:11) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main.py", line 146, in tmp_wrap return contracts_decorate(f, **kwargs) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main.py", line 226, in contracts_decorate returns_parsed = parse_flexible_spec(returns) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main.py", line 327, in parse_flexible_spec return parse_contract_string(spec) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main.py", line 660, in parse_contract_string return parse_contract_string_actual(string) File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main_actual.py", line 41, in parse_contract_string_actual raise ContractSyntaxError(msg, where=where) contracts.interface.ContractSyntaxError: Expected {^ term | + term} (at char 10), (line:1, col:11) line 1 |array[N](>=-pi,<pi) ↑ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/test/Desktop/useless_code/pylab/rotate.py", line 3, in <module> from geometry import SE3 File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/geometry/__init__.py", line 49, in <module> from .distances import * File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/geometry/distances/__init__.py", line 2, in <module> from .spherical import * File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/geometry/distances/spherical.py", line 2, in <module> from geometry.spheres import directions #@NoMove @UnusedImport # for contract File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/geometry/spheres.py", line 41, in <module> @contract(x='array[N]', returns='array[N](>=-pi,<pi)') File "/Users/test/Applications/anaconda3/lib/python3.6/site-packages/contracts/main.py", line 149, in tmp_wrap raise e.copy() contracts.interface.ContractSyntaxError: Expected {^ term | + term} (at char 10), (line:1, col:11) line 1 |array[N](>=-pi,<pi) ↑ [Finished in 0.5s with exit code 1] [shell_cmd: python -u "/Users/test/Desktop/useless_code/pylab/rotate.py"] [dir: /Users/test/Desktop/useless_code/pylab] [path: /Users/test/Applications/anaconda3/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]```
The text was updated successfully, but these errors were encountered:
Merge pull request #1 from AndreaCensi/z6
3fdd5e1
Z6
No branches or pull requests
I'm using anaconda python3.6, after pip install pygeometry and import geometry, error occurred.
Both macOS and linux tested.
Please help
after looking at code, I found this project is totally python 2+, This is unacceptable since python 3 is more and more popular.....
The text was updated successfully, but these errors were encountered: