question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

So many dependencies!

See original GitHub issue

It takes a very long time to install all dependencies. Are really all of the dependencies required? Maybe some are only for dev and could be moved e.g. to requirements-dev.txt?

Also some of the dependencies have no version pinning. This is not a good practice.

What do you think? Less dependencies could increase deploy time…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
BigCandyBunnycommented, Feb 27, 2021

Quite challenging to get the large list of libraries to function. Using pip on the requirements.txt file did not cut it for me. I use Miniconda on Windows 10 and applied the command ‘conda install -c conda-forge <library name>’ successfully where my first attempt with pip failed. Also, I downloaded the PyTorch library directly from its home page. Tensorflow also includes the Cuda Toolkit since I enjoy an nVidia GPU in my HW setup.

If you have installed a library with pip which is not functioning, then you need to delete it with pip before re-installing it with other means.

I was able to install GamestonkTerminal with Python 3.7.9 and TensorFlow 2.4.1 and my complete list of dependencies can be found in the attached .yml file (dubbed as .txt since Github does not recognize the .yml format…).

I do think there is much to gain from streamlining the use of libraries and simplify installation for the end user of this impressive effort by Didier R. Lopes.

gs_environment_latest.txt

3reactions
DidierRLopescommented, Feb 27, 2021

Hey @exislow ,

You’re absolutely right. And this is what I’m working on today!

I’ll leave requirements.txt to what is absolutely necessary. Add poetry for package management, and make it possible to build a docker image from it.

This should make the installation much more simple, and also decrease deploy time since I think the current requirements.txt has libraries that aren’t being used.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Node.js need so many dependencies? - Quora
Why do applications that run in Node.js need so many dependencies? Probably because there are existing solutions. [2] . Footnotes. [1].
Read more >
Software Development Has Been Complicated By Too Many ...
Developers shouldn't have to deal with bloated dependency-laden frameworks containing thousands upon thousands of modules and libraries. We ...
Read more >
JavaScript Growing Pains: From 0 to 13000 Dependencies
In today's post, we're going to demystify how the number of JavaScript dependencies grows while we're working on a relatively simple project ...
Read more >
npm installs many dependencies - Stack Overflow
This is a very good question, there are a few things I want to point out. The V8 engine, Node Modules(dependencies) and require...
Read more >
Dealing with the "Too many dependencies" problem
The more dependencies our class takes in, the higher its efferent coupling to other classes, meaning that it knows a little bit too...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found