No Python at “Path“怎么解决

python的学习终于来到模块这个环节了。可是在pycharm中安装requests库的时候一直报错。

终端执行 “ python --version ”的时候就会出现:

No Python at 'C:\Users\XXXXX\AppData\Local\Programs\Python\Python39\python.exe'

可以看出这是找不到python执行程序的意思。解决方法如下:

  1. 确认Python是否已安装:如果您的计算机上没有安装Python,请前往python.org下载并安装最新版本。

  1. 确保您的路径正确:您可以使用Windows命令提示符或PowerShell检查您的计算机上是否安装了python.exe。如果您找到了python.exe,请确保您的路径指向该文件。

  1. 重新安装Python:如果您仍然无法找到python.exe,请删除您当前的Python安装,然后重新安装最新版本。

如何使用Windows命令提示符确认是否安装了python.exe呢?

  1. 打开命令提示符:在Windows资源管理器中查找并打开“命令提示符”。

输入命令:在命令提示符中输入以下命令:

where python

检查结果:如果python.exe已安装,则会显示其完整路径。如果您看到了错误消息,则表明python.exe未安装。

  1. 您还可以使用以下命令检查Python的版本:

python --version

如果python.exe已安装,则将显示已安装的版本。

如何修改python的路径:

有时候在执行上一步的时候可能会出现路径与实际安装路径不同的情况。这可能是因为之前曾经安装过其他版本的python程序,升级之后路径没有改过来。

我们可以去‘我的计算机’>‘属性’>'关于' > '高级系统设置' >'高级' > '环境变量' > '系统变量' > 'path'里新建或者修改一下python的对应路径就可以了。

修改完成之后记得去pycharm的设置里把解释器路径也一起修改了就可以了。如图:

修改路径之后再来到pycharm底部的python packages选项卡搜索 requests 点击安装

大功告成 ~~

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
README for the eric5 IDE Installation Installing eric5 is a simple process. Just execute the install.py script (type python install.py -h for some help). Please note that the installation has to be performed using the administrators account (i.e. root on linux). This installs a wrapper script in the standard executable directory (default: /usr/local/bin on linux) called eric5. If you want to uninstall the package just execute the uninstall script. This gets rid of all installed files. In this case please send an email to the below mentioned address and tell me your reason. This might give me a hint on how to improve eric5. If the required packages (Qt4, QScintilla2, sip and PyQt4) are not installed, please get them and install them in the following order (order is important). 1. Install Qt4 (from Nokia) 2. Build and install QScintilla2 (from Riverbank Computing) 3. Build and install sip (from Riverbank Computing) 4. Build and install PyQt4 (from Riverbank Computing) 5. Build and install QScintilla2 Python bindings (part of the QScintilla2 package) 6. Install eric5 If you want to use the interfaces to other supported software packages, you may install them in any order and at any time. Please note, that the QScintilla2 Python bindings have to be rebuild, if the PyQt4 package gets updated. If this step is omitted, a bunch of strange errors will occur. Installation of translations Translations of the eric5 IDE are available as separate downloads. There are two ways to install them. The first possibility is to install them together with eric5. In order to do that, simply extract the downloaded archives into the same place as the eric5 archive and follow the installation instructions above. The second possibility is to install them separately. Extract the downloaded archives and execute the install-i18n.py script (type python install-i18n.py -h for some help). This way you can make the translations available to everybody or just to the user executing the installation command (if using the -p switch). Running Just call up eric5, which will start the IDE. Use the "what is"-help (arrow with ?) to get some help. Sorry, there is no documentation yet. To start the unit test module in a standalone variant simply call up eric5-unittest. This will show the same dialog (though with a little bit less functionality) as if started from within eric5. The helpviewer can be started as a standalone program by executing the eric5-webbrowser script. Please note, the first time you start eric5 it will recognize, that it hasn't been configured yet and will show the configuration dialog. Please take your time and go through all the configuration items. However, every configuration option has a meaningful default value. Running from the sources If you want to run eric5 from within the source tree you have to execute the compileUiFiles.py script once after a fresh checkout from the source repository or when new dialogs have been added. Thereafter just execute the eric5.py script. Tray starter eric5 comes with a little utility called "eric5-tray". This embeds an icon in the system tray, which contains a context menu to start eric5 and all it's utilities. Double clicking this icon starts the eric5 IDE. Autocompletion/Calltips eric5 provides an interface to the QScintilla auto-completion and calltips functionality. QScintilla2 comes with API files for Python and itself. PyQt4 contains an API file as well. These are installed by default, if the correct installation order (see above) is followed. An API file for eric5 is installed in the same place. In order to use autocompletion and calltips in eric5 please configure these functions in the "Preferences Dialog" on the "Editor -> APIs", "Editor -> Autocompletion" and "Editor -> Calltips" pages. Remote Debugger In order to enable the remote debugger start eric5, open the preferences dialog and configure the settings on the debugger pages. The remote login must be possible without any further interaction (i.e. no password prompt). If the remote setup differs from the local one you must configure the Python interpreter and the Debug Client to be used in the Preferences dialog. eric5 includes two different versions of the debug client. DebugClient.py is the traditional debugger and DebugClientThreads is a multithreading variant of the debug client. Please copy all needed files to a place accessible through the Python path of the remote machine and set the entries of the a.m. configuration tab accordingly. Passive Debugging Passive debugging mode allows the startup of the debugger from outside of the IDE. The IDE waits for a connection attempt. For further details see the file README-passive-debugging.txt Plugin System eric5 contains a plugin system, that is used to extend eric5's functionality. Some plugins are part of eric5. Additional plugins are available via the Internet. Please use the built in plug-in repository dialog to get a list of available (official) plugins and to download them. For more details about the plug-in system please see the documentation area. Interfaces to additional software packages At the moment eric5 provides interfaces to the following software packages. Qt-Designer This is part of the Qt distribution and is used to generate user interfaces. Qt-Linguist This is part of the Qt distribution and is used to generate translations. Qt-Assistant This is part of the Qt distribution and may be used to display help files. Mercurial This is a distributed version control system available from <mercurial.selenic.com>. It is the one used by eric5 itself. Subversion This is a version control system available from <subversion.apache.org>. eric5 supports two different Subversion interfaces. One is using the svn command line tool, the other is using the PySvn Python interface <pysvn.tigris.org>. The selection is done automatically depending on the installed software. The PySvn interface is prefered. This automatism can be overridden an a per project basis using the "User Properties" dialog. coverage.py This is a tool to check Python code coverage. A slightly modified version is part of the eric5 distribution. The original version is available from <www.nedbatchelder.com/code/modules/coverage.html> tabnanny This is a tool to check Python code for white-space related problems. It is part of the standard Python installation. profile This is part of the standard Python distribution and is used to profile Python source code. cyclops This is a tool to detect variable cycles which can cause the garbage collector being unable to do his job. Interfaces to additional software packages via plugins Some of the interfaces provided as plugins are as follows. pylint This is a tool to check the source code according to various rules. It is available from <http://www.logilab.org/projects/pylint>. cx_Freeze This is a tool for packaging Python programs. It is available from <http://starship.python.net/crew/atuining/cx_Freeze> Internationalization eric5 and it's tools are prepared to show the UI in different languages, which can be configured via the preferences dialog. The Qt and QScintilla translations are searched in the translations directory given in the preferences dialog (Qt page). If the translations cannot be found, some part of the MMI might show English texts even if you have selected something else. If you are missing eric5 translations for your language and are willing to volunteer for this work please send me an email naming the country code and I will send you the respective Qt-Linguist file. Window Layout eric5 provides different window layouts. In these layouts, the shell window and the file browser may be embedded or be separat windows. Source code documentation eric5 has a built in source code documentation generator, which is usable via the commandline as well. For further details please see the file README-eric5-doc.txt License eric5 (and the others) is released under the conditions of the GPL. See separate license file for more details. Third party software included in eric5 is released under their respective license and contained in the eric5 distribution for convenience. Bugs and other reports Please send bug reports, feature requests or contributions to eric bugs address. After the IDE is installed you can use the "Report Bug..." entry of the Help menu. This will send a message to <[email protected]>
如果你是一个小型的办公网络,你可以创建一个服务器来进行日程安排,这只是一个开源的小服务器,你果你需要大的免费的软件去http://www.bedework.org/bedework/下载 使用教程 Installation Dependencies Radicale is written in pure python and does not depend on any librabry. It is known to work on Python 2.5, 2.6, 3.0 and 3.1 [1]. Linux users certainly have Python already installed. For Windows and MacOS users, please install Python [2] thanks to the adequate installer. [1] See Python Versions and OS Support for further information. [2] Python download page. Radicale Radicale can be freely downloaded on the project website, download section. Just get the file and unzip it in a folder of your choice. CalDAV Clients At this time Radicale has been tested and works fine with the latests version of Mozilla Sunbird (versions 0.9+), Mozilla Lightning (0.9+), and Evolution (2.30+). More clients will be supported in the future. However, it may work with any calendar client which implements CalDAV specifications too (luck is highly recommanded). To download Sunbird, go to the Sunbird project website and choose the latest version. Follow the instructions depending on your operating system. Simple Usage Starting Server To start Radicale CalDAV server, you have to launch the file called radicale.py located in the root folder of the software package. Using Sunbird or Lightning After starting Sunbird or Lightning, click on File and New Calendar. Upcoming window asks you about your calendar storage. Chose a calendar On the Network, otherwise Sunbird will use its own file system storage instead of Radicale's one and your calendar won't be remotely accessible. Next window asks you to provide information about remote calendar access. Protocol used by Radicale is CalDAV. A standard location for a basic use of a Radicale calendar is http://localhost:5232/user/calendar/, where you can replace user and calendar by some strings of your choice. Calendars are automatically created if needed. You can now customize your calendar by giving it a nickname and a color. This

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值