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

Google Colab install pandana error #184

Closed
swagluke opened this issue Jul 25, 2023 · 1 comment
Closed

Google Colab install pandana error #184

swagluke opened this issue Jul 25, 2023 · 1 comment

Comments

@swagluke
Copy link

swagluke commented Jul 25, 2023

Description of the bug

Trying to install pandana on Google Colab but running into issue with "Building wheels for collected packages: tables"
I've tried following command to fix the issue but without any luck.

  1. I've confirmed that tables is installed properly. (3.8.1.dev0) - !pip install tables --upgrade
  2. Upgrading wheel and setuptools - !pip install wheel setuptools pip --upgrade
  3. Upgrading cmake - !pip install cmake --upgrade

Network data (optional)

If the issue is related to specific network data please provide a link to download the data or the function used to download the data.

Environment

  • Operating system: Linux 9e7b8fb3f067 5.15.109+ Compile libraries under clang on Mac #1 SMP Fri Jun 9 10:57:30 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  • Python version: Python 3.10.6

  • Pandana version: pandana-0.6.1

  • Pandana required packages versions (optional):

Paste the code that reproduces the issue here:

`!pip install pandana`

Paste the error message (if applicable):

Building wheels for collected packages: tables, pandana
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for tables (setup.py) ... error
  ERROR: Failed building wheel for tables
  Running setup.py clean for tables
  Building wheel for pandana (setup.py) ... done
  Created wheel for pandana: filename=pandana-0.6.1-cp310-cp310-linux_x86_64.whl size=1851091 sha256=29eca75859973cf1c66bbac86430ff4686e547df5a2f8bf719e25e53c1729a9f
  Stored in directory: /root/.cache/pip/wheels/e7/4b/71/360fe3ffe9d5822e4d35b07a9938f0b074056b43a0040b373a
Successfully built pandana
Failed to build tables
ERROR: Could not build wheels for tables, which is required to install pyproject.toml-based projects
@swagluke
Copy link
Author

swagluke commented Jul 26, 2023

I retried it today with Google Colab and it's working now. Not sure if Colab had a recent system update or not. Closing the thread now.

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

1 participant