pip is run from the command line, not the Python interpreter. mv /etc/sudoers{,.bak} Create a new one vi /etc/sudoers with the following basic content: # /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. And then it all worked (or at least it got past the syntax error): This has to do with the way that pylint decodes files -- future-fstrings needs a one-shot rewrite and pylint loads line-by-line. File "C:\Users\matts\AppData\Roaming\Python\Python36\site-packages\google\protobuf\descriptor.py", line 47, in from google.protobuf.pyext import _message ImportError: DLL load failed: The specified procedure could not be found. The problem, in this case, is that the code looks perfectly fine, but it was run with an older version of Python. Trusted by over 1.3 million readers worldwide. To fix the issue, you will want to surround the word with backticks, this is usually the button just to the left of the “1” button on the keyboard. # # See the man page for details on how to write a sudoers file. Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. The Python shell is not a command line, it is an interactive interpreter. mapping.py is running an assertion test to make sure that your report source is a MapDocument, TableView, or Layer. According to the Release Notes, the ability to create symbolic functions using that syntax was introduced in release R2012a. When I run this I get an 'unexpected indent error' at 'def __init__ (self, infile):. Bear Bibeault wrote:So let me get this right: you were taught an obsolete way of doing things so you aren't even going to bother trying to learn how to do it right?Is that what you are saying? And it is not a MapDocument, TableView, or Layer, it is a string. I'll write a patch for pylint but I wouldn't be surprised if they don't take it :P Are you using an older release? I 'refurbished' this from what Lars60+ invented for me so this is just getting started. I change the command to sudo python3.2 example.py to run it to python 3 and i get this error: File "example.py", line 14 print "ADXL345 on address 0x%x:" % (adxl345.address) ^ SyntaxError: invalid syntax. ----- >Comment By: Mark Hammond (mhammond) Date: 2011-04-22 14:43 Message: There seem to be 2 problems here: * pywin32-216.win32-py3.2.exe did indeed have some py2k syntax files - that file has been removed from the 216 build and replaced with pywin32-216.1.win32-py3.2.exe - … The syntax_option_type is implementation defined but it is valid to perform bitwise operations on these values and expect the right thing to happen. Delete Definition at line 47 of file regex_constants.h. He has authored 12 SQL Server database books, 33 Pluralsight courses and has written over 5100 articles on the database technology on his blog at a https://blog.sqlauthority.com. How to fix it: Just because the word alter is reserved does not mean it cannot be used, it just has special requirements to use it as the MySQL engine is trying to call the functionality for the alter command.