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 "from solidspy.solids_GUI import solids_auto" #28

Open
ghost opened this issue Jul 22, 2020 · 5 comments
Open

ERROR in "from solidspy.solids_GUI import solids_auto" #28

ghost opened this issue Jul 22, 2020 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 22, 2020

Thank you providing a great project!
Here is an error when I try to import solids_auto:

Traceback (most recent call last):
File "", line 1, in
File "/Users/user/Library/Python/2.7/lib/python/site-packages/solidspy/init.py", line 3, in
from solidspy.solids_GUI import solids_GUI
File "/Users/user/Library/Python/2.7/lib/python/site-packages/solidspy/solids_GUI.py", line 25, in
import solidspy.preprocesor as pre
AttributeError: 'module' object has no attribute 'preprocesor'

How can I solve this issue?
Thank you in advance:)

@nicoguaro
Copy link
Collaborator

It seems that you are using Python 2.7. But we dropped it last year with the end of support.

@ghost
Copy link
Author

ghost commented Jul 26, 2020

Thank you @nicoguaro for your reply.
I changed to Python3.7.6, but I have another error here:
libc++abi.dylib: terminating with uncaught exception of type NSException

Is there any other problem in my environment?

Thank you for your support.

@nicoguaro
Copy link
Collaborator

I just realized that you seem to be using the development version. What was your setup process?

@ghost
Copy link
Author

ghost commented Jul 28, 2020

Thank you @nicoguaro for your reply.
I followed the instruction and run
pip install solidspy
pip install easygui
pip install meshio
My environment seems to be anaconda.

@nicoguaro
Copy link
Collaborator

@koz7, I think I know what the problem is. You are installing the stable version (1.0.16) but the readme in GitHub is presenting an example for the developing version (2.x). I would suggest that you check the official documentation

https://solidspy.readthedocs.io/en/latest/readme.html

Try the steps there and let me know if it works.

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

No branches or pull requests

1 participant