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

package not on pypi #2

Open
dhruv-anand-aintech opened this issue May 16, 2024 · 3 comments
Open

package not on pypi #2

dhruv-anand-aintech opened this issue May 16, 2024 · 3 comments

Comments

@dhruv-anand-aintech
Copy link

I can't find the evoc package on pypi (pip install evoc fails). I guess I'll install from source to try it out for now.

@dhruv-anand-aintech
Copy link
Author

I get this error when I try to install from source:

git clone https://github.com/TutteInstitute/evoc
cd evoc
pip install .
Cloning into 'evoc'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 83 (delta 36), reused 60 (delta 19), pack-reused 0
Receiving objects: 100% (83/83), 84.81 KiB | 4.71 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Processing /Users/dhruvanand/Code/evoc
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.21 in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (1.26.4)
Requirement already satisfied: scikit-learn>=1.1 in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (1.3.2)
Collecting numba>=0.59 (from evoc==0.1.0)
  Obtaining dependency information for numba>=0.59 from https://files.pythonhosted.org/packages/15/01/19c67d25ff36713ad5b90ef4a1a54fa4a87ccb377a8b2fccce2f6b4fd582/numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata
  Downloading numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)
Requirement already satisfied: tqdm in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (4.66.4)
INFO: pip is looking at multiple versions of evoc to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement tbb (from evoc) (from versions: none)
ERROR: No matching distribution found for tbb

Is tbb workable with Apple Silicon?

@wilsonjr
Copy link

I get this error when I try to install from source:

git clone https://github.com/TutteInstitute/evoc
cd evoc
pip install .
Cloning into 'evoc'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 83 (delta 36), reused 60 (delta 19), pack-reused 0
Receiving objects: 100% (83/83), 84.81 KiB | 4.71 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Processing /Users/dhruvanand/Code/evoc
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.21 in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (1.26.4)
Requirement already satisfied: scikit-learn>=1.1 in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (1.3.2)
Collecting numba>=0.59 (from evoc==0.1.0)
  Obtaining dependency information for numba>=0.59 from https://files.pythonhosted.org/packages/15/01/19c67d25ff36713ad5b90ef4a1a54fa4a87ccb377a8b2fccce2f6b4fd582/numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata
  Downloading numba-0.59.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.7 kB)
Requirement already satisfied: tqdm in /Users/dhruvanand/miniforge3/lib/python3.10/site-packages (from evoc==0.1.0) (4.66.4)
INFO: pip is looking at multiple versions of evoc to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9; 0.53.0 Requires-Python >=3.6,<3.10; 0.53.0rc1.post1 Requires-Python >=3.6,<3.10; 0.53.0rc2 Requires-Python >=3.6,<3.10; 0.53.0rc3 Requires-Python >=3.6,<3.10; 0.53.1 Requires-Python >=3.6,<3.10; 0.54.0 Requires-Python >=3.7,<3.10; 0.54.0rc2 Requires-Python >=3.7,<3.10; 0.54.0rc3 Requires-Python >=3.7,<3.10; 0.54.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement tbb (from evoc) (from versions: none)
ERROR: No matching distribution found for tbb

Is tbb workable with Apple Silicon?

Hi @dhruv-anand-aintech . I had the same problem.
There is no support of tbb for Apple processors.

@lmcinnes
Copy link
Contributor

conda certainly packages up tbb for mac. That might be the only way. I'll see if I can figure out a way to work around this longer term, but tbb for parallelism makes a huge performance difference, so it will be hard to work around.

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