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

Error in launching tstock - no module name 'numpy' #14

Closed
zer0exia opened this issue Jan 31, 2022 · 3 comments
Closed

Error in launching tstock - no module name 'numpy' #14

zer0exia opened this issue Jan 31, 2022 · 3 comments

Comments

@zer0exia
Copy link

Launching tstock would produce error as shown :

Traceback (most recent call last):
File "/usr/bin/tstock", line 33, in
sys.exit(load_entry_point('tstock==2.1.2', 'console_scripts', 'tstock')())
File "/usr/bin/tstock", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/init.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/tstock/main.py", line 3, in
from .core import main
File "/usr/lib/python3.10/site-packages/tstock/core.py", line 7, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'

Installed from AUR package

OS : EndeavourOS
Kernel: 5.16.4-arch1-1

@jaime10a
Copy link

Hi, it probably should be installed automatically, but on your end you can just fix the issue with the command:
pip install numpy
You are just installing the numpy python package.

@zer0exia
Copy link
Author

Solved. Installed python-numpy package from community repo

@Gbox4
Copy link
Owner

Gbox4 commented Feb 2, 2022

I'll add python-numpy to the dependencies list for the AUR package.

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

3 participants