-
Notifications
You must be signed in to change notification settings - Fork 60
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
pip3 install mfem --install-option="--with-parallel"
not working
#150
Comments
Maybe the problem is that the files are put here:
instead of here:
i.e., there is an additional See these output lines:
Also, these files:
are in a different location than
which appears to be in the correct location. |
@benzwick , thank you for reporting this. This is a bit puzzling, since it looks like mfem is installed under /home/ben/.local/local/lib/python3.10. In my environment, it goes under xxxx/.local/lib/python.....
When neither --prefix nor --user is given, this function (https://github.com/mfem/PyMFEM/blob/master/setup.py#L221) looks for a place to install. What is your sys.prefix and site.getusersitepackages()? You may somehow need to give --user option? |
I tried with
|
I deleted all the existing PyMFEM installations and tried again but now I get this error instead and cannot install the parallel version at all:
|
Hmmm, I can not reproduce this.
Also, what is your environment? I see _distutils_system_mod.py in you error message. But I don't have it either my virtualenv or docker. |
I am using Python 3.10 on Ubuntu 22.04. It looks like setuptools may have been downgraded when I installed numba:
With the upgraded setuptools I no longer get the above error and the installation is working again with this command:
However, the files are still installed in the wrong place as before. It works after I manually move these directories:
to here:
Maybe it is worth putting a requirement for the version of setuptools that is required for pymfem. |
Closing this for now. Please feel free to re-open this if the error persist. |
When I install PyMFEM using
pip3 install mfem --install-option="--with-parallel" --verbose
I cannot importmfem.ser
ormfem.par
:Despite the installation appearing to be successful:
The text was updated successfully, but these errors were encountered: