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

Cannot Import PyNite #111

Closed
Corentin1985 opened this issue Jan 11, 2022 · 9 comments
Closed

Cannot Import PyNite #111

Corentin1985 opened this issue Jan 11, 2022 · 9 comments

Comments

@Corentin1985
Copy link

Hi,

I just installed PyNite with pip.

Installation ended correctly.

But when I want to use it, if I type "import pynite", I get "No module named 'PyNite'".

Other imports such as "import numpy" or whatever work just fine.

I work with WinPython-64-bit-3.6.0.1.Qt5.

@JWock82
Copy link
Owner

JWock82 commented Jan 11, 2022

Did you use pip install PyNite instead of pip install PyNiteFEA? There is another module out there called pynite so I had to add FEA to the end of the PyPi package. If you love playing the video game Fortnite then maybe pynite is what you want though.

@Corentin1985
Copy link
Author

Thanks for the quick reply.
I tried both. None worked.
So I tried with a more recent Python and it still does not work, I really don't get it.

@JWock82
Copy link
Owner

JWock82 commented Jan 11, 2022

Try from PyNite import FEModel3D.

@Corentin1985
Copy link
Author

Just tried it. Same error. Really confusing.

@JWock82
Copy link
Owner

JWock82 commented Jan 11, 2022

Do you have multiple versions of Python installed?

@JWock82
Copy link
Owner

JWock82 commented Jan 11, 2022

My guess is that pip did not install PyNite to a location on your active interpreter's PYTHONPATH. You may want to check your PYTHONPATH variable and make sure PyNite is found on that path.

@Corentin1985
Copy link
Author

I do indeed have multiple versions installed.
I'll check the pythonpath, not sure how though.
And what about the discussion I submitted about thermal loads?
Best regards.

@JWock82
Copy link
Owner

JWock82 commented Feb 7, 2022

Did you ever figure this issue out? I'd like to close it out.

@Corentin1985
Copy link
Author

Sorry, I never managed to get this work, but I guess that's just me. You can close. Best regards.

@JWock82 JWock82 closed this as completed Feb 19, 2022
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