Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not run file setup.command in windows 10 #8

Open
nmhoangclb opened this issue Dec 3, 2022 · 2 comments
Open

Can not run file setup.command in windows 10 #8

nmhoangclb opened this issue Dec 3, 2022 · 2 comments

Comments

@nmhoangclb
Copy link

Hello Soyaine, I can not Double click the setup.command, when Double click the setup.command it not working. My eviroment in windows 10 Pro 64-bit (10.0, Build 18362)
Help me please!
image

@soyaine
Copy link
Owner

soyaine commented Dec 3, 2022

@nmhoangclb I'm not sure how much do you know about scripts and shell. And have you installed Python in your computer? If you have a bash shell app, maybe you can try to run the command by paste the sentences in to the shell.

@nmhoangclb
Copy link
Author

@nmhoangclb I'm not sure how much do you know about scripts and shell. And have you installed Python in your computer? If you have a bash shell app, maybe you can try to run the command by paste the sentences in to the shell.

I am installed Python 3.
I try to run the command by paste the sentences in the git bash
"

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ SCRIPT_PATH=$(dirname "$0")

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ python3 -m venv venv

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ source venv/bin/activate
bash: venv/bin/activate: No such file or directory

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ pip install pyyaml
Requirement already satisfied: pyyaml in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (6.0)
WARNING: You are using pip version 21.2.3; however, version 22.3.1 is available.
You should consider upgrading via the 'C:\Users\ADMIN\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ ^C

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (21.2.3)
Collecting pip
Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.3
Uninstalling pip-21.2.3:
Successfully uninstalled pip-21.2.3
WARNING: The scripts pip.exe, pip3.10.exe, pip3.9.exe and pip3.exe are installed in 'C:\Users\ADMIN\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-22.3.1

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ pip install pyyaml
Requirement already satisfied: pyyaml in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (6.0)

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ pip install Pillow
Requirement already satisfied: Pillow in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages (9.3.0)

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ echo $VIRTUAL_ENV

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$ python $SCRIPT_PATH/scripts/main.py
C:\Users\ADMIN\AppData\Local\Microsoft\WindowsApps\python.exe: can't open file 'C:\Program Files\Git\usr\bin\scripts\main.py': [Errno 2] No such file or directory

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$

ADMIN@HoangNM MINGW64 /c/xampp/htdocs/album-my-wedding
$
"
image

it's not working. help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants