3

creating a package with Composer, dependencies are stored in /vendor folder

creating a package with npm, dependencies are stored in /node_modules folder

creating a package with pip, where are the dependencies stored? and why it's different?

2
  • 2
    "and why it's different ?" - Because they are all completely different languages with their own ecosystems. Mar 23, 2019 at 8:46
  • @MagnusEriksson thank you so much for answering. now I have understood
    – sabbir
    Mar 23, 2019 at 8:49

1 Answer 1

5

There is a site-packages directory documented here, but also you can use virtual environments to have per project dependencies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.