Das Skript wird in einem Verzeichnis installiert, das nicht PATH ist

528
biryulin04

Während des Installationsvorgangs von Jupiter Notebook mithilfe von pip wurde angegeben, dass Skripts in einem Ordner installiert wurden, der sich nicht in PATH befindet. Kann es Probleme geben? Wie kann ich es reparieren?

Hier ist das vollständige Protokoll:

Installing collected packages: six, ipython-genutils, decorator, traitlets, jupyter-core, jsonschema, nbformat, tornado, pyzmq, entrypoints, pygments, MarkupSafe, jinja2, webencodings, bleach, mistune, pandocfilters, testpath, defusedxml, nbconvert, Send2Trash, wcwidth, prompt-toolkit, parso, jedi, colorama, pickleshare, backcall, ipython, python-dateutil, jupyter-client, ipykernel, pywinpty, terminado, prometheus-client, notebook The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. The script jsonschema.exe is installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. The script jupyter-trust.exe is installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. The script pygmentize.exe is installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. Running setup.py install for MarkupSafe ... done Running setup.py install for pandocfilters ... done The script jupyter-nbconvert.exe is installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. Running setup.py install for backcall ... done The scripts iptest.exe, iptest3.exe, ipython.exe and ipython3.exe are installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. The scripts jupyter-kernel.exe, jupyter-kernelspec.exe and jupyter-run.exe are installed in 'c:\users\рубена\appdata\local\programs\python\python37\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. Running setup.py install for pywinpty ... done Running setup.py install for prometheus-client ... done The scripts jupyter-bundlerextension.exe, jupyter-nbextension.exe, jupyter-notebook.exe and jupyter-serverextension.exe are installed in 'c:\users\рубена\appdata\local\programs\python\python37\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 MarkupSafe-1.0 Send2Trash-1.5.0 backcall-0.1.0 bleach-3.0.2 colorama-0.4.0 decorator-4.3.0 defusedxml-0.5.0 entrypoints-0.2.3 ipykernel-5.1.0 ipython-7.1.1 ipython-genutils-0.2.0 jedi-0.13.1 jinja2-2.10 jsonschema-2.6.0 jupyter-client-5.2.3 jupyter-core-4.4.0 mistune-0.8.4 nbconvert-5.4.0 nbformat-4.4.0 notebook-5.7.0 pandocfilters-1.4.2 parso-0.3.1 pickleshare-0.7.5 prometheus-client-0.4.2 prompt-toolkit-2.0.7 pygments-2.2.0 python-dateutil-2.7.5 pywinpty-0.5.4 pyzmq-17.1.2 six-1.11.0 terminado-0.8.1 testpath-0.4.2 tornado-5.1.1 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 
0

1 Antwort auf die Frage

0
Stese

Die Antwort darauf, wie Sie das Problem beheben können, finden Sie im Protokoll, das Sie veröffentlicht haben.

Fügen Sie den Speicherort "c: \ users \ рубена \ appdata \ local \ Programs \ python \ python37 \ Scripts" zum Python-Pfadverzeichnis hinzu.

Anstatt Anweisungen zu replizieren, können Sie dieser Antwort folgen: -

Fügen Sie dem Python-Pfad ein Verzeichnis hinzu


Wird dies Probleme verursachen?

Wenn Sie versuchen, auf das Skript zuzugreifen, ohne den genauen Speicherort anzugeben, kann Python es nicht finden. Nur Sie wissen, ob dies ein Problem für Sie verursacht.