hyperskill / hs-test-python

A framework that simplifies testing educational projects for Hyperskill.
15 stars 10 forks source link

Cannot deploy with Error -9 #10

Closed abalakersky closed 8 months ago

abalakersky commented 4 years ago

Hello, I have been trying to get this package to work with both, IDEA and PyCharm, but running into this issue during PIP package installation. This prevents Checks from running within my IDE:

Collecting https://github.com/hyperskill/hs-test-python/archive/v2.0.1.tar.gz
  Using cached https://github.com/hyperskill/hs-test-python/archive/v2.0.1.tar.gz

DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
    ERROR: Command errored out with exit status -9:
     command: '/Users/myuser/PycharmProjects/Coffee Machine/.idea/VirtualEnvironment/bin/python' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2v/52hf3z_j2qvgthf7pllrqs9r0000gn/T/pip-req-build-xx4gz7m_/setup.py'"'"'; __file__='"'"'/private/var/folders/2v/52hf3z_j2qvgthf7pllrqs9r0000gn/T/pip-req-build-xx4gz7m_/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 /private/var/folders/2v/52hf3z_j2qvgthf7pllrqs9r0000gn/T/pip-pip-egg-info-8ayfqg7t
         cwd: /private/var/folders/2v/52hf3z_j2qvgthf7pllrqs9r0000gn/T/pip-req-build-xx4gz7m_/
    Complete output (0 lines):
    ----------------------------------------
ERROR: Command errored out with exit status -9: python setup.py egg_info Check the logs for full command output.

I am hopping for any help with this.

aaaaaa2493 commented 4 years ago

@abalakersky Hi! Looks like pip doing some deprecations in their newest version of pip. Check if you are using the newest pip==20.2 pip -V or pip3 -V

If you do, could you please tell if downgrading to an older pip works just fine for you? The command is: pip install --upgrade pip==20.1.1 or pip3 install --upgrade pip==20.1.1