0

I want to submit Pong from my PC since I have the code in VS, but I'm not sure how. I typed pip3 install submit50 in my cmd window, and got this:

pip3 install submit50
Collecting submit50
  Downloading submit50-3.0.2.tar.gz (5.5 kB)
    ERROR: Command errored out with exit status 1:
     command: 'D:\Anaconda\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Hana PC\\AppData\\Local\\Temp\\pip-install-k8e22dsn\\submit50\\setup.py'"'"'; __file__='"'"'C:\\Users\\Hana PC\\AppData\\Local\\Temp\\pip-install-k8e22dsn\\submit50\\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 'C:\Users\Hana PC\AppData\Local\Temp\pip-pip-egg-info-f6mklaa_'
         cwd: C:\Users\Hana PC\AppData\Local\Temp\pip-install-k8e22dsn\submit50\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Hana PC\AppData\Local\Temp\pip-install-k8e22dsn\submit50\setup.py", line 2, in <module>
        raise RuntimeError("submit50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install submit50 within that.")
    RuntimeError: submit50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install submit50 within that.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I don't mind submitting from the CS50 IDE, but when I create a pong.lua file, it just saves as a text file, so I'm assuming the IDE doesn't support the lua language. Please help!

2
  • 1
    The error message gives the information you seek "_ RuntimeError: submit50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (docs.microsoft.com/en-us/windows/wsl/install-win10) and then install submit50 within that._" – DinoCoderSaurus Aug 10 '20 at 22:00
  • Thank you! I submitted it in CS50 instead :) – Hana Ali Aug 10 '20 at 22:12

You must log in to answer this question.

Browse other questions tagged .