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

Unable to build from source #1187

Open
adamjstewart opened this issue Sep 18, 2024 · 5 comments
Open

Unable to build from source #1187

adamjstewart opened this issue Sep 18, 2024 · 5 comments
Labels

Comments

@adamjstewart
Copy link

Issue Description

I'm trying to build arrow 1.3.0 but it fails with the following mysterious error message:

  ModuleNotFoundError: No module named 'arrow'

Full build log

System Info

  • 🖥 OS name and version: macOS 15.0
  • 🐍 Python version: 3.11.9
  • 🏹 Arrow version: 1.3.0
@krisfremen
Copy link
Member

Hey @adamjstewart,

It seems like this might be a naming collision of some sorts? I'm not able to reproduce this, can you provide some repro steps?

Thanks

@adamjstewart
Copy link
Author

I'm having trouble reproducing this now as well. Let's close for now and I'll reopen if I encounter this again.

@adamjstewart
Copy link
Author

Okay, I'm hitting this issue again. Digging deeper, the issue isn't a naming collision (which could arise if something else named arrow.py was in the PYTHONPATH). Instead, import arrow doesn't work either. Printing sys.path reveals that '' is missing, meaning the current directory is not searched. Not sure if this is pip's fault or flit's fault, but it's probably not arrow's fault. I'm just confused why I'm only seeing an issue with this package.

@adamjstewart adamjstewart reopened this Oct 5, 2024
@adamjstewart
Copy link
Author

FWIW, arrow 1.2.3 installs just fine. It's only the newer flit build that has issues.

@adamjstewart
Copy link
Author

@haampie could this be due to Spack's new Python build isolation? I can't reproduce outside of Spack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants