dylantheriot / valorant-match-history

See your VALORANT match history with LP (VP??) gains
43 stars 25 forks source link

ERROR: Command #18

Open mjustine21 opened 3 years ago

mjustine21 commented 3 years ago

if i type this:

python3 -m pip install -r requirements.txt

`i get this:

ERROR: Command errored out with exit status 1: 'C:\Users\MJustine Paitan\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MJustine Paitan\AppData\Local\Temp\pip-install-680qpogt\markupsafe_45063e779d3a44079ae988edbefa2367\setup.py'"'"'; file='"'"'C:\Users\MJustine Paitan\AppData\Local\Temp\pip-install-680qpogt\markupsafe_45063e779d3a44079ae988edbefa2367\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MJustine Paitan\AppData\Local\Temp\pip-record-qr4o2zr2\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\MJustine Paitan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\MarkupSafe' Check the logs for full command output.

i already got the latest python 3.9 and followed every step on your tutorial but this always pops out and if i run:

python3 ./wsgi.py

this pops out:

File "C:\Users\MJustine Paitan\Documents\valorant-match-history-main\wsgi.py", line 1, in from app.main import app File "C:\Users\MJustine Paitan\Documents\valorant-match-history-main\app\main.py", line 1, in from flask import Flask, render_template, request, redirect, url_for ModuleNotFoundError: No module named 'flask'

mjustine21 commented 3 years ago

error: [WinError 2] The system cannot find the file specified

this was also in the end of the Complete output (23 lines):

hailwaft commented 3 years ago

did u have existing python installed before you installed python 3.9? maybe you can check out this issue https://github.com/dylantheriot/valorant-match-history/issues/9

mjustine21 commented 3 years ago

yes i have 3.7 but i uninstalled it but it still the same

i tried using py -3 which is mentioned in issue #9 but it will only display this message

Python 3 not found! Installed Pythons found by py Launcher for Windows No Installed Pythons Found!

p.s. im new to codes im still a freshmen and only knew some js and html thats why its hard for me to solve some issues in python programs and stuffs

hailwaft commented 3 years ago

if you have python 3.9 already installed. can you try these steps?

  1. Download and unzip the code.
  2. Browse through the unzipped folder
  3. shift + right click on the folder and then select "Open PowerShell window here" image
  4. Paste "python3 -m pip install -r requirements.txt" in the PowerShell window and then enter
  5. Do the same for "python3 ./wsgi.py"
  6. If no errors occur, visit the site http://127.0.0.1:5000/