question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Python] Cannot build from source code due to imports in setup.py

See original GitHub issue

Running setup.py imports fbprophet.models here which imports other stuff which ends up importing convertdate which the user won’t have until setup.py is complete and the user dependencies are fulfilled.

Full output from an attempt to build on Raspberry Pi: https://paste.debian.net/1167435/

_Background: I run piwheels.org which builds wheels of everything on PyPI for Raspberry Pi. The issue tracking this package being missing is here: https://github.com/piwheels/packages/issues/167_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bbartlingcommented, Dec 3, 2020

@bennuttall sorry about that I deleted my comments

0reactions
blethamcommented, Apr 3, 2021

As discussed in #401, there is no possibility to build or install without having at least one of the requirements (pystan) since we compile the model at install time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to import packages after build and install using setup.py
1 Answer 1 · Thanks Sinoroc for your input. Still it is throwing the same error. · You can not import calculator directly....
Read more >
After setup.py install cannot import new module
In circleci, it seems that it is unable to find my module even though the install seems to have worked without any errors....
Read more >
2. Writing the Setup Script — Python 3.11.1 documentation
The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the...
Read more >
How to Manually Install Python Packages - ActiveState
Navigate to the directory in which you've extracted the package. If the package includes its own set of installation instructions, they should ...
Read more >
Building Your Own Package — Py300 3.0 documentation
The __init__.py can be totally empty – or it can have arbitrary python code in it. The code will be run when the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found