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

Installing mathiscs on windows 10 #327

Closed
rewreu opened this issue Feb 25, 2016 · 7 comments
Closed

Installing mathiscs on windows 10 #327

rewreu opened this issue Feb 25, 2016 · 7 comments

Comments

@rewreu
Copy link

rewreu commented Feb 25, 2016

I did every steps from this website,https://github.com/mathics/Mathics/wiki/Installing
the last step stoped and showing:
WARNING: yacc table file version is out of date

@sn6uv
Copy link
Member

sn6uv commented Feb 25, 2016

Thanks for reporting this.

It's most probably the wrong version of ply. Could you post the output of pip show ply?

There are two possible solutions to this:

  • Downgrade to ply 3.6.
  • Find where mathics is installed and edit mathics/core/parsetab and change 3.6 to the version of ply you have installed (probably 3.8)

We're about to release a new version of Mathics that works with ply 3.8.

@sn6uv
Copy link
Member

sn6uv commented Feb 25, 2016

cc54f9a should prevent this in future, we'll just have to remember to update every release.

@rewreu I'm really interested to know if you have any other issues on Win10. It should work fine but it's not been properly tested afaik.

@rewreu
Copy link
Author

rewreu commented Feb 25, 2016

@sn6uv I think you are right, below is the output. BTW, how do I downgrade ply?
D:\Python27\Scripts>pip show ply
You are using pip version 7.0.1, however version 8.0.2 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

Metadata-Version: 1.1
Name: ply
Version: 3.8
Summary: Python Lex & Yacc
Home-page: http://www.dabeaz.com/ply/
Author: David Beazley
Author-email: dave@dabeaz.com
License: BSD
Location: d:\python27\lib\site-packages
Requires:

@sn6uv
Copy link
Member

sn6uv commented Feb 26, 2016

I think pip install -I ply==3.6 should do it.

@sn6uv
Copy link
Member

sn6uv commented Mar 3, 2016

We've released Mathics 0.9 now. Could you try with the new version and let us know if it's fixed?

@rewreu
Copy link
Author

rewreu commented Mar 3, 2016

Hi, there,
I was stopped at running this command:D:\Python27\python.exe setup.py install
Below are the last a few messages in command prompt:

Downloading https://pypi.python.org/packages/source/D/Django/Django-1.8.10.tar.gz#md5=8be1858dfee4878768ce686165e29c89

Processing Django-1.8.10.tar.gz
error: [Errno 22] invalid mode ('wb') or filename: 'c:\users\zhew~1\appdata\local\temp\easy_install-uq8mxc\Django-1.8.10\tests\staticfiles_tests\apps\test\static\test\xe2\x8a\x97.txt'

@sn6uv
Copy link
Member

sn6uv commented Apr 10, 2016

Sorry for the slow response on this. Looks like a problem installing django. Does

pip install django==1.8

work?

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

No branches or pull requests

3 participants