Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we remove except ImportError message because other error are missed #1634

Open
Abhishek-Gawade-programmer opened this issue Dec 25, 2024 · 3 comments

Comments

@Abhishek-Gawade-programmer

Screenshot from 2024-12-25 20-27-05

When I was trying to add yfinance package

  • Error Was actually Pandas not installed but it shows yfinance is not installed
  • Because yfinance required the Pandas and other packages installed but its hiding the actual error
@Abhishek-Gawade-programmer Abhishek-Gawade-programmer changed the title Can we remove except ImportError message because other error are missee Can we remove except ImportError message because other error are missed Dec 25, 2024
@ysolanky
Copy link
Contributor

Hello @Abhishek-Gawade-programmer ! pandas is a requirement of yfinance package. So when you run pip install yfinance, pandas should get installed as its a dependency.

@Abhishek-Gawade-programmer
Copy link
Author

this is not how it work

@ysolanky
Copy link
Contributor

Pip determines and installs a package’s dependencies automatically through dependency resolution, which identifies which versions of dependencies need to be installed. Please check out: https://pip.pypa.io/en/stable/topics/dependency-resolution/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants