Closed sadlermike closed 3 years ago
I'm not familiar with using pipenv to install. But if you use pip install PyNiteFEA
as listed on PyPI, it should install on Windows. Once installed, it can be imported under the name PyNite
as seen in the init.py. The imported names PyNite
and FEModel3D
are case-sensitive, like all module names in Python.
Does that help? If not, maybe you can give more detailed steps to recreate the problem?
Hello @tamalone1 ,
Thanks for that. I've just had an experiment, and the problem seems to have been that I absentmidedly installed the other pynite (https://pypi.org/project/pynite/), and what I think happened was that when pipenv went to install PyNite, it found the existing pynite folder, and used that.
When I deleted the 'pynite' folder, it installed correctly.
Thanks for your response!
Best regards,
Mike
Describe the bug When installing pynite using the Pipenv file, you get errors when trying to import the package.
The problem appears to be that pip installs the package to ...\site-packages\pynite, but the package's init file contains the line:
from PyNite.FEModel3D import FEModel3D
This appears to be a case sensitivity issue - is the package intended for Linus use only?
To Reproduce Steps to reproduce the behavior:
Expected behavior The ability to import elements of pynite
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.