Official Install on Windows PowerShell failed on FileNotFoundError
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Commencez par install-poetry.py, en particulier Installer.run, Installer.install, make_env et VirtualEnvironment.make, puis reproduisez la commande PowerShell officielle avec Python 3.9.6 et 3.8.10 sous Windows. Vérifiez le chemin de création de l’environnement virtuel et l’échec du sous-processus ; c’est terminé lorsque l’installation documentée s’effectue sans FileNotFoundError et que Poetry est restauré après la désinstallation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I've been trying to update my 1.1.13 poetry install to 1.2.2 using the official doc but it failed.
PS D:\Downloads>(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python3 -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
D:\AppData\Roaming\Python\Scripts
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.2.2)
Installing Poetry (1.2.2): Saving existing environment
Installing Poetry (1.2.2): Creating environment
Installing Poetry (1.2.2): An error occurred. Removing partial environment.
Installing Poetry (1.2.2): Restoring previously saved environment.
Traceback (most recent call last):
File "D:\Downloads\install-poetry.py", line 940, in <module>
sys.exit(main())
File "D:\Downloads\install-poetry.py", line 919, in main
return installer.run()
File "D:\Downloads\install-poetry.py", line 550, in run
self.install(version)
File "D:\Downloads\install-poetry.py", line 571, in install
with self.make_env(version) as env:
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\contextlib.py", line 117, in __enter__
return next(self.gen)
File "D:\Downloads\install-poetry.py", line 643, in make_env
raise e
File "D:\Downloads\install-poetry.py", line 629, in make_env
yield VirtualEnvironment.make(env_path)
File "D:\Downloads\install-poetry.py", line 319, in make
builder.create(target)
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\venv\__init__.py", line 75, in create
self._setup_pip(context)
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\venv\__init__.py", line 298, in _setup_pip
subprocess.check_output(cmd, stderr=subprocess.STDOUT)
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\.pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
and the error same occurs after poetry uninstall with both python 3.9.6 and python3.8.10
I now don't have poetry anymore on my computer 😢
- Langage dominant
- Python
- Étoiles
- 255
- Forks
- 65
- Merge moyen
- 2 h 48 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de python-poetry/install.python-poetry.org
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
python-poetry/install.python-poetry.org#144 · 8 commentaires · 2 réactions ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 42/100
python-poetry/install.python-poetry.org#177 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
Toutes les issues de python-poetry/install.python-poetry.org
Issues similaires
-
Consolidate the now-identical CLI-native and composed tasks_packages guards (#5945 follow-up)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
spec-kitty/spec-kitty#6112 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter servedPeut-être pris @Mrun25 l’a pris aujourd’hui. Ouvertebug llm translation
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
BerriAI/litellm#46095 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
uberdeveloper/fastbt#29 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
andrew-blake/melcloudhome#368 ·
Les mainteneurs répondent en général sous 1 jour
-
lane:discover
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
SPARDiffData/differential-data-collection#33 ·
Les mainteneurs répondent en général sous 1 jour