Installing Third-Party Modules
已回答
Hi,
I would like to install the Third-Party Module "send2trash" from https://pypi.python.org/ . When I try to add this url to the custom repositories via "PyCharm-Preferences-Plugins-Browse repositories...-Manage repositories, I get an error telling me that this repository is empty.
What do I wrong?
Maybe it is the wrong url to the pypi-repository. If that is the case, has anybody the right url?
Or, do I have to install the plugin manually via "sudo pip3 install send2trash"?
Many thanks for any help.
I use PyCharm 2018.1 (Community Edition), Build #PC-181.4203.547, built on March 26, 2018, JRE: 1.8.0_152-release-1136-b20 x86_64, JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o on macOS 10.13.3
Best regards HaWe51
请先登录再写评论。
You don't need to configure repositories for pypi.python.org, it's already done by default so you can install send2trash right away from the UI. The correct URL meanwhile is https://pypi.python.org/simple
Hi Pavel,
many thanks for your answer but if try to install the Plugin via the Plugins-Dialog in PyCharm Preferences, the plugin is not found if I search for it in the repositories .
when I try to import the module for instance in the Python Console I get this error message:
What do I wrong?
Best regards
Ah, I see, "plugins" and "packages" are different things - plugins are some additions to PyCharm functionality (bash support, markdown preview, and so on), packages - Python language packages, in general, available on PyPI. You need to use UI in Settings | Project ... | Project Interpreter to install new packages:
Hi Pavel,
Yes!! That did it.
Many thanks for your great support.
Mr. Pavel Karateev
Thanks a lot, i made it. :)