Modules & Pip | Python | Tutorial 30

preview_player
Показать описание

Throughout the course we'll be looking at various topics including variables, lists, tuples, loops, conditionals, object orientation, and much more.
Рекомендации по теме
Комментарии
Автор

To anyone having the same issue with imported modules:

I imported some external modules like docx or numpy, just to try out. After a successful installation with pip, the installed modules were not found when i tried to open them. My problem was with Pycharm actually. Pycharm has its own way to install modules from the Python Packages field that you can find in the lower part of the interface. Try to install modules from there instead of doing it with pip. This is valid only for pycharm users as far as i know.

Markov_Productions
Автор

Newbie question, is the module installation linked to the currently opened project? I could install docx while working on another project. The import docx line of code works in there, but when I wanted to do the same in my Giraffe project containing notes of this (great by the way!) course, Python does not find it and the whole site-packages folder is orange.

danielpouly
Автор

How do you know if a function you wanna use is included in the built-in modules?

derrickthonga
Автор

I have successfully installed docx python. But I have a problem using it import docx gives me an error of ModuleNotFoundError: No module named 'docx' am I doing it wrong? please help thank you!

jdcoding
Автор

Python 3 does not actually come with pip.

VALObrand
Автор

I have installed pip and did everything. But when I type pip and press enter, I get the message of "Fatal error in launcher". What should I do ?

grmvishnu
Автор

Does your module have to be in the same folder as the file your programming

dedlycake
Автор

I had to use pip3 as pip does not exist for me, apparently because I have python 2 and this was installed before my python 3

TheSlytooth