Should I install Python modules?

I usually do not want to install Python modules. I use web2py and just delete them in the modules folder and let it take care of local import. It always seemed the easiest way to do something - never felt right about dependencies at the system level and never felt like messing with virtual envs.

In one of my other questions , the defendant said

As a rule, the best practice for third-party modules is to install them via pip or easy_install (preferably virtualenv), if available on PyPI, instead of copying them somewhere to your PYTHONPATH .... [because it] runs scripts script installation necessary to install executable scripts, build C-extensions, etc. this is not done by simply copying in the module.

I do not quite understand this. I always thought that this was more of a preference, but is it true that it is better to install third-party modules, and can I cause problems without doing this? Does an environment like web2py use the difference?

+2
source share
1 answer

, . , , .

, , , , , ... - , , .

+1

All Articles