Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

SyntaxError when installing ptvsd #1

Closed
karthiknadig opened this issue Jan 4, 2018 · 2 comments
Closed

SyntaxError when installing ptvsd #1

karthiknadig opened this issue Jan 4, 2018 · 2 comments

Comments

@karthiknadig
Copy link
Member

setup.py install output shows following errors:

byte-compiling build\bdist.win-amd64\egg\ptvsd\reraise2.py to reraise2.cpython-36.pyc
  File "build\bdist.win-amd64\egg\ptvsd\reraise2.py", line 10
    raise exc_info[0], exc_info[1], exc_info[2]
                     ^
SyntaxError: invalid syntax

and

Extracting ptvsd-4.0.0a1-py3.6.egg to c:\programdata\anaconda3\lib\site-packages
  File "c:\programdata\anaconda3\lib\site-packages\ptvsd-4.0.0a1-py3.6.egg\ptvsd\reraise2.py", line 10
    raise exc_info[0], exc_info[1], exc_info[2]
                     ^
SyntaxError: invalid syntax
@zooba
Copy link
Member

zooba commented Jan 5, 2018

Same as I mentioned in #2 - use pip install <path> to install from source, which should work fine.

If not, we probably need to conditionally exclude the reraise files from the setup.py based on the target version.

@karthiknadig
Copy link
Member Author

'pip install ' resolved this issue

karthiknadig added a commit that referenced this issue Jun 14, 2018
* Add set debugger property to support VS just my code

* Just my code initial code

* Limit continue to stepping and exceptions

* Improve skipping non-user code

* Fix tests

* Just my code shoudl skip ptvsd files

* fixes and updates (#1)

* Fix typo

* Use CMD_STEP_INTO_MY_CODE and CMD_SET_PROJECT_ROOTS

* Update tests to reflect the new pydevd exception breakpoint cmd args

* Fixes and improvements

* Simplify and refactor debug options

* Test fix and fix for debug property request handler for VS

* More fixes

* Test fixes

* Address comments

* Bunch of test fixes (#2)

* Test fixes

* Restoring auto-continue till pydev side work is done.
fabioz pushed a commit to fabioz/ptvsd that referenced this issue Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants