Как я могу решить эту «SyntaxError: недопустимый синтаксис»?

$ pip3 install PyFFTW3

Collecting PyFFTW3
  Using cached PyFFTW3-0.2.1.tar.gz (25 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o6a_mdhw/PyFFTW3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o6a_mdhw/PyFFTW3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-o6a_mdhw/PyFFTW3/pip-egg-info
         cwd: /tmp/pip-install-o6a_mdhw/PyFFTW3/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-o6a_mdhw/PyFFTW3/setup.py", line 81
        print "build %s from template %s" %(outfile, tmplfile)
              ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
0
задан 15 December 2020 в 20:48

0 ответов

Другие вопросы по тегам:

Похожие вопросы: