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

CI Workflow run error #26

Open
stefanomorni opened this issue Aug 7, 2022 · 1 comment
Open

CI Workflow run error #26

stefanomorni opened this issue Aug 7, 2022 · 1 comment

Comments

@stefanomorni
Copy link

Hi,
Foremost, thanks for sharing these templates.
I'm a beginner to Python and hope this will help me build my first project, despite not being able to understand half of the content of the readme.md.

While creating my project clone, I received a “CI Workflow run” error message. Looking into it on GitHub, the detail of the error was:


2022-08-06T15:58:16.0724267Z ##[group]Run actions/setup-python@v2
2022-08-06T15:58:16.0724613Z with:
2022-08-06T15:58:16.0724799Z python-version: 3.9
2022-08-06T15:58:16.0725262Z token: ***
2022-08-06T15:58:16.0725445Z ##[endgroup]
2022-08-06T15:58:16.7770614Z Successfully setup CPython (3.9.13)
2022-08-06T15:58:16.8091702Z ##[group]Run pip install --user --upgrade pip
2022-08-06T15:58:16.8092164Z �[36;1mpip install --user --upgrade pip�[0m
2022-08-06T15:58:16.8276808Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2022-08-06T15:58:16.8277109Z env:
2022-08-06T15:58:16.8277410Z pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
2022-08-06T15:58:16.8277674Z ##[endgroup]
2022-08-06T15:58:35.0156418Z Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.9.13\x64\lib\site-packages (22.2.1)
2022-08-06T15:58:35.5641334Z Collecting pip
2022-08-06T15:58:35.5958308Z Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
2022-08-06T15:58:35.6762744Z ---------------------------------------- 2.0/2.0 MB 25.8 MB/s eta 0:00:00
2022-08-06T15:58:35.6929232Z ERROR: To modify pip, please run the following command:
2022-08-06T15:58:35.6930066Z C:\hostedtoolcache\windows\Python\3.9.13\x64\python.exe -m pip install --user --upgrade pip


(see enclosed print screen as well)

I'm using Anaconda Python, so I usually install packages through "Conda install" not pip (if possible).
I tried to run the command suggested in the error message "C:\hostedtoolcache\windows\Python\3.9.13\x64\python.exe -m pip install --user --upgrade pip" but the directory mentioned hostedtoolcache was no more available.

So, please help:

Am I doing something wrong?
What are the "consequences" of this error?
How can I solve the issue?
error

error

Many thanks for your help.

Stefano

@joseph-brody
Copy link

I have the same issue

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