flatironinstitute / FMM3D

Flatiron Institute Fast Multipole Libraries --- This codebase is a set of libraries to compute N-body interactions governed by the Laplace and Helmholtz equations, to a specified precision, in three dimensions, on a multi-core shared-memory machine.
https://fmm3d.readthedocs.io
Other
100 stars 38 forks source link

Problem with pypi repo #30

Open fbeaudo opened 1 year ago

fbeaudo commented 1 year ago

There seems to be a problem with pip installation since a short time.

I used to be able to install fmm3dpy in a conda environment without problem on any platform with the following commands:

conda create -n test
conda activate test
conda install pip
pip install fmm3dpy

Since last, week it seems like fmm3dpy is not available through PyPi anymore. Indeed, I am now getting this message:

ERROR: Could not find a version that satisfies the requirement fmm3dpy (from versions: none) ERROR: No matching distribution found for fmm3dpy

This happens on Windows PowerShell, Linux and MacOS terminals.

Did anything happen with the PyPi repo in the last few weeks or months?

I can still see the project here.

fbeaudo commented 1 year ago

To clarify that the issue has nothing to do with conda, I tried installing through pip in venv.

The following code gives me the same result.

python -m venv test
cd test
source bin/activate
pip install fmm3dpy
mrachh commented 1 year ago

Dear Felix, There seems to be an issue with how pypi and setup tools are interacting with python 3.10 which is the current default when you create a new environment. I was able to get around it for now by using python 3.7. If that works for you, I would recommend to switch to python 3.7 and install the package, and we will try and resolve the installation issue on newer versions of python soon.

Regards, Manas

mrachh commented 1 year ago

Dear Felix, The pypi package manager now has support python versions 3.9-3.11 for linux and Mac. Let us know if you run into any difficulties.

fbeaudo commented 1 year ago

Thank you very much.

fbeaudo commented 1 year ago

Does this support also extend to Windows, and if not, is there any plan to do so in the near future?

mrachh commented 1 year ago

Hi, Apologies for the delay in reply. There is support for windows with python 3.9-3.11 as well. Let us know if y'all run into issues.