新人小白,安装pip install pyinstaller遇到问题,求大神帮帮忙!
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了新人小白,安装pip install pyinstaller遇到问题,求大神帮帮忙!相关的知识,希望对你有一定的参考价值。
我看网上教程这样就下载了,我的显示不是内部或外部命令,新人小白懵逼状态中,求大神指导
安装Python的时候,有一个pip安装的选择勾勾,要勾上了,默认才会安装。否则要执行下载安装追问
![](https://image.cha138.com/20230506/ce6d9b5640e044beb2d83e5f0cce7449.jpg)
您帮我看看pip是安装成功了吗?
pyinstaller也正常安装成功,但是找不到文件夹😥
![](https://image.cha138.com/20230506/457039f0f7d049aab0183b4550541ac6.jpg)
Python明明安装在e盘,运行程序却在c盘,有点看不懂
![](https://image.cha138.com/20230506/999369fe33a246bd8f32eb6d03122b83.jpg)
![](https://image.cha138.com/20230506/387435dae7dc4ef3940920e35d73b091.jpg)
pip install url安装报错,求解决办法
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\win10\PycharmProjects\test\venv\Scripts\python.exe'.Collecting url Using cached url-0.4.2.tar.gz (140 kB)Requirement already satisfied: six in c:\users\win10\pycharmprojects\test\venv\lib\site-packages (from url) (1.15.0)Using legacy 'setup.py install' for url, since package 'wheel' is not installed.Installing collected packages: url Running setup.py install for url: started Running setup.py install for url: finished with status 'error'DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333. ERROR: Command errored out with exit status 1: command: 'C:\Users\win10\PycharmProjects\test\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\win10\\AppData\\Local\\Temp\\pycharm-packaging\\url\\setup.py'"'"'; __file__='"'"'C:\\Users\\win10\\AppData\\Local\\Temp\\pycharm-packaging\\url\\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\win10\AppData\Local\Temp\pip-record-19l62mwn\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\win10\PycharmProjects\test\venv\include\site\python3.8\url' cwd: C:\Users\win10\AppData\Local\Temp\pycharm-packaging\url\ Complete output (15 lines): Building from C++ running install running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\url copying url\__init__.py -> build\lib.win32-3.8\url creating build\lib.win32-3.8\url\psl copying url\psl\2016-08-16.psl -> build\lib.win32-3.8\url\psl warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'url.url' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ----------------------------------------
选择
Pycharm > file > settings > project > project interpreter.
你看看有没有另一个解释器,使用它试试追问
跟安装了【Microsoft Visual Studio 2019】有关吗?
怎么设置一下?
![](https://image.cha138.com/20230323/9a18e555b67e43368613e54e7d2548c6.jpg)
![](https://image.cha138.com/20230323/32a58a0fdaa1412aa57e569e00a6074b.jpg)
![](https://image.cha138.com/20230323/5161f90a911d4dd1ba27f6905c3bcc54.jpg)
![](https://image.cha138.com/20230323/e9f9057a93684e03aec8dd55273949bf.jpg)
以上是关于新人小白,安装pip install pyinstaller遇到问题,求大神帮帮忙!的主要内容,如果未能解决你的问题,请参考以下文章