Error when running on python 3.7
See original GitHub issueHey, homebrew upgraded my python to 3.7 and since the linter stopped woking, spitting out this error:
[Linter] Error running Flake8 Error: /usr/local/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1
EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
at ChildProcess.<anonymous> (/Users/Tadeo/.atom/packages/linter-eslint/node_modules/sb-exec/lib/index.js:56:20)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
When I run flake8 manually in project it gives the same message as a warning and then runs normally
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
8. Errors and Exceptions — Python 3.7.14 documentation
Errors detected during execution are called exceptions and are not unconditionally fatal: you ... Handling run-time error: division by zero ...
Read more >Install fails on Python 3.7 · Issue #1 · DavidMStraub/rundec ...
3 using download "Python-3.7.3.tar.xz" on my Linux Debian 9 machine and it failed miserably too. The same Linux machine is successfully running ......
Read more >error in run python3.9 from cmd where python 3.7 installed
To find the location of the site package run this command. python -m ... C:\Users\%USERNAME%\AppData\Roaming\Python\Python39\site-packages.
Read more >Error running PSSE from Python 3.7.3
I get the following error in my Python script following the psspy.psseinit(2000) command. Has anyone seen this before and do they know what ......
Read more >Python command not found error while installing python 3.7.3 ...
The directory that the Python 3.7 executable is installed in, /usr/local/bin , is not located in your PATH . You can see your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
for Python 3.7.2 (both Anaconda version and brew installed version) with:
Update this line:
in BOTH: lib/python3.7/site-packages/pycodestyle.py lib/python3.7/site-packages/pep8.py
I resolved this by reinstalling flake8.
pip3 install --force flake8
Upgrading to the latest version might also help for others.
pip3 install --upgrade flake8