2

I'm encountering a problem while installing FoBiS with pip.

Input: pip install FoBiS.py

Returns:

    ERROR: Command errored out with exit status 1:
     command: /home/femke/Programs/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rumwdmo2/multiprocessing/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rumwdmo2/multiprocessing/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-pip-egg-info-s25t8ebi
         cwd: /tmp/pip-install-rumwdmo2/multiprocessing/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-rumwdmo2/multiprocessing/setup.py", line 94
        print 'Macros:'
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Macros:')?
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

System: Linux Ubuntu 20.4 LTS, Python 3.8.3

I tried to update the setuptools. Do you have any idea how to fix this?

1 Answer 1

2

It's a bug in the package. The package requires dependencies that are actually Python standard modules. With the bug pip is trying to install very old Python2-only version of multiprocessing.

The bug was introduced recently and presents in version 3.0.3. Try to install older version like 3.0.2:

pip install FoBiS.py==3.0.2

I reported the bug: https://github.com/szaghi/FoBiS/issues/117#issuecomment-684895781

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.