简体   繁体   English

lxml未安装在pycharm ide中

[英]lxml is not installing in pycharm ide

lxml not installing in pycharm ide. lxml 未安装在 pycharm ide 中。 this code is not running due to lxml is not installed.由于未安装 lxml,此代码未运行。 How to install lxml package in pycharm如何在pycharm中安装lxml包

page = urlopen(wiki)
soup = BeautifulSoup(page, 'lxml')
print(soup.title)

  [Erro while edding lxml code in pycharm][1]

To install a new package directly in PyCharm, you can go to要直接在 PyCharm 中安装新包,您可以转到

Settings->Project->Project Interpreter.设置->项目->项目解释器。

After this you should see the interpreter that PyCharm uses to run your project.在此之后,您应该会看到 PyCharm 用于运行您的项目的解释器。

If you don't see lxml in the package's table, you can press the plus icon in the right corner of the window and type lxml and proceed with the installation.如果在包的表中没有看到lxml ,您可以按窗口右上角的加号图标并键入lxml并继续安装。

Let me know让我知道

Im running anaconda with Pycharm and I installed lxml via conda install -c anaconda lxml but I do not see lxml in my packages in project interpreter. 我用Pycharm运行anaconda,我通过conda install -c anaconda lxml安装了lxml,但是在项目解释器的软件包中看不到lxml。 How do I fix this? 我该如何解决?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM