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

ModuleNotFoundError: No module named 'mathics_scanner' #1589

Closed
dchmelik opened this issue Mar 14, 2022 · 2 comments
Closed

ModuleNotFoundError: No module named 'mathics_scanner' #1589

dchmelik opened this issue Mar 14, 2022 · 2 comments

Comments

@dchmelik
Copy link

dchmelik commented Mar 14, 2022

On Slackware64 15.0 up-to-date stable, mathics crashes.
I installed numpy, sympy, wheel (for pip2tgz,) pip2tgz, did 'pip2tgz Mathics3-4.0.0.tar.gz' to build package to see if I can get this working for a SlackBuild (for SlackBuilds.org.) Here's a short log. It maybe was a pip2tgz issue but I'm unsure will be able to create package w/only pip because must--as root--install to specific directory then package will be built from.

[email protected]:~# mathics
Traceback (most recent call last):
  File "/usr/bin/mathics", line 5, in <module>
    from mathics.main import main
  File "/usr/lib64/python3.9/site-packages/mathics/main.py", line 12, in <module>
    from mathics.core.parser import MathicsFileLineFeeder, MathicsLineFeeder
  File "/usr/lib64/python3.9/site-packages/mathics/core/parser/__init__.py", line 3, in <module>
    from mathics_scanner import is_symbol_name
ModuleNotFoundError: No module named 'mathics_scanner'
@rocky
Copy link
Member

rocky commented Mar 14, 2022

See https://mathics-development-guide.readthedocs.io/en/latest/installing/index.html#installing-mathics

Also, active work on Mathics core is now done at https://github.com/mathics3/mathics-core This is mentioned in the "about" for this project.

@dchmelik
Copy link
Author

Yeah, I shouldn't have used pip2tgz yet; mathics works fine on Slackware64 15 if I just did 'pip3 install Mathics3.'

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