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

In Linux Ubuntu 22.04 No module named 'javelin' #19

Open
KoRiki-Uma opened this issue Oct 16, 2024 · 0 comments
Open

In Linux Ubuntu 22.04 No module named 'javelin' #19

KoRiki-Uma opened this issue Oct 16, 2024 · 0 comments

Comments

@KoRiki-Uma
Copy link

KoRiki-Uma commented Oct 16, 2024

Hello! I am using system Linux Ubuntu 22.04.
I encountered the following problem:
It seems that the javelin have already installed successfully by this link: https://drive.google.com/file/d/1KThers5mvF826yATyyxvdhVsxdAbpPoM/view
javelin_install

But when I wanted to import javelin, it comes up with some error.

Traceback (most recent call last):
  File "demo.py", line 5, in <module>
    import matplotlib.pyplot as plt
  File "/home/uma/anaconda3/envs/Javelin/lib/python3.8/site-packages/matplotlib/__init__.py", line 129, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "/home/uma/anaconda3/envs/Javelin/lib/python3.8/site-packages/matplotlib/rcsetup.py", line 27, in <module>
    from matplotlib.colors import Colormap, is_color_like
  File "/home/uma/anaconda3/envs/Javelin/lib/python3.8/site-packages/matplotlib/colors.py", line 51, in <module>
    from PIL import Image
  File "/home/uma/anaconda3/envs/Javelin/lib/python3.8/site-packages/PIL/Image.py", line 68, in <module>
    from ._typing import StrOrBytesPath, TypeGuard
  File "/home/uma/anaconda3/envs/Javelin/lib/python3.8/site-packages/PIL/_typing.py", line 10, in <module>
    NumpyArray = npt.NDArray[Any]
AttributeError: module 'numpy.typing' has no attribute 'NDArray'
(Javelin) uma@uma-virtual-machine:~/Desktop/Packages/javelin-master-2/examples$ python 
Python 3.8.0 | packaged by conda-forge | (default, Nov 22 2019, 19:11:38) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import javelin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'javelin'
>>> from javelin.predict import PredictSignal, PredictRmap, generateLine, generateError, PredictSpear
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'javelin'
>>> exit()
demo py_error

Can you help me about these questions? Thank you very much!

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

1 participant