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.

Import Issue with Starry

See original GitHub issue

When I import starry, I get the following error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-10c95ea0e8bb> in <module>
----> 1 import starry
~\Anaconda3\lib\site-packages\starry\__init__.py in <module>
     15 # Import the main interface
     16 from ._config import config
---> 17 from . import kepler, linalg, maps
     18 from .maps import Map
     19 from .kepler import Primary, Secondary, System
~\Anaconda3\lib\site-packages\starry\kepler.py in <module>
      2 from . import config
      3 from ._constants import *
----> 4 from .maps import MapBase, RVBase, ReflectedBase
      5 from ._core import OpsSystem, math
      6 from .compat import evaluator
~\Anaconda3\lib\site-packages\starry\maps.py in <module>
      2 from . import config, legacy
      3 from ._constants import *
----> 4 from ._core import OpsYlm, OpsLD, OpsReflected, OpsRV, math
      5 from ._core.utils import is_theano
      6 from ._indices import integers, get_ylm_inds, get_ul_inds, get_ylmw_inds
~\Anaconda3\lib\site-packages\starry\_core\__init__.py in <module>
      1 # -*- coding: utf-8 -*-
----> 2 from . import core, ops, utils, math
      3 from .core import *
~\Anaconda3\lib\site-packages\starry\_core\core.py in <module>
      2 from .. import config
      3 from .._constants import *
----> 4 from .ops import (
      5     sTOp,
      6     rTReflectedOp,
~\Anaconda3\lib\site-packages\starry\_core\ops\__init__.py in <module>
      1 # -*- coding: utf-8 -*-
      2 from .exceptions import *
----> 3 from .filter import *
      4 from .integration import *
      5 from .limbdark import *
~\Anaconda3\lib\site-packages\starry\_core\ops\filter.py in <module>
     10     STARRY_OREN_NAYAR_DEG = 5
     11 else:
---> 12     from ..._c_ops import STARRY_OREN_NAYAR_DEG
     13 
     14 
ImportError: DLL load failed: The specified module could not be found.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mkplummercommented, Mar 23, 2021

Good morning! Thank you for your help. After uninstalling starry, I executed the “pip uninstall -U starrry --no-binary starry” cmd, and here was the results: image Followed by a string of errors and then, image So I believe I need to update my microsoft C++, I will see if this helps. Once again, I really appreciate the help.

0reactions
rodlugercommented, Mar 24, 2021

Great, glad to hear. Feel free to re-open the issue if you run into trouble again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

importing starry but get an error on attribute 'geweke' #275
Which version of Theano do you have installed? I ran into this issue once -- there is one version out there that really...
Read more >
FAQs — starry 1.2.1.dev14+gda7fee4 documentation
1. I get weird output when I call starry functions. 2. I get a ValueError when instantiating a pymc3 model. 3. How do...
Read more >
I'm Having Issues With My Service, What Do I Do?
If you are experiencing any issues with your service, please let us know by chatting with Spot the Bot, emailing us at support@starry.com, ......
Read more >
Starry Internet Review: Fast, Affordable Broadband, No Strings ...
Starry Internet Review: Fast, Affordable Broadband, No Strings Attached. Prepare for high-speed, fixed wireless internet, but not simply 5G.
Read more >
Starry Sky: In Summer - PSP Edition [Japan Import]
Starry Sky · In Summer - PSP Edition [Japan Import] ; Price: $34.94 ; FREE delivery January 9 - 24. Details.
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