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 when following Python instructions #36

Open
josephko91 opened this issue Apr 26, 2023 · 3 comments
Open

error when following Python instructions #36

josephko91 opened this issue Apr 26, 2023 · 3 comments

Comments

@josephko91
Copy link

I am following the instructions on the readme page, but I get the following errors when I try to run pip install setup.py:

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

I have also tried to use the --user option and sudo as the instructions suggest. It didn't help.

I'm on a 2014 MacBook Pro with Apple M2 Pro chip if that is relevant.

@LeviZhang1996
Copy link

I got these errors too.
image

@janbridley
Copy link
Contributor

janbridley commented Aug 9, 2023

Using pip install . solves part of this issue: the output is shown below.

Linux x86-64

pip install .
>Processing /home/jenbrad/miniball/python
>  Preparing metadata (setup.py) ... done
>Requirement already satisfied: numpy in /home/user/envname/lib/python3.10/site-packages >(from miniball==1.0) (1.25.0)
>Using legacy 'setup.py install' for miniball, since package 'wheel' is not installed.
>Installing collected packages: miniball
>  Running setup.py install for miniball ... done
>Successfully installed miniball-1.0

However, I have not been able to get the package to compile on ARM64:

Using a fresh conda environment, this package does install. There seems to be some commonly-used conflicting package that causes the above error that I have not yet identified.

MacOS arm64

pip install .
>//Output as above

@janbridley
Copy link
Contributor

In any case, the setup.py install does not work any longer because that functionality has been deprecated. I can update the documentation, but in the mean time I am working to better understand the package and troubleshoot numerical errors with the python plugin.

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

3 participants