What's causing this pvlib error: ImportError: The Linke turbidity lookup table requires scipy.How can I get python3.4 to find the PySDL2 module I downloaded on win7?I'm having trouble importing a Python API from GitHubpip install Django on python3.6derivatives() function in scipy interpolate shows errorCannot import scipy in ipython (python 3.4.4)django on production 500 server error for User related Model in AdminModuleNotFoundError: No module named 'JayDeBeApi3'scipy ImportError: dlopen no suitable image found in Python 3google Colaboratory opencv xfeatures2d_SURF

Why escape if the_content isnt?

For a non-Jew, is there a punishment for not observing the 7 Noahide Laws?

What happens if you roll doubles 3 times then land on "Go to jail?"

What is the difference between "behavior" and "behaviour"?

Risk of infection at the gym?

Closest Prime Number

Is this apparent Class Action settlement a spam message?

Did the DC-9 ever use RATO in revenue service?

Do sorcerers' Subtle Spells require a skill check to be unseen?

Go Pregnant or Go Home

How did Arya survive the stabbing?

Integer addition + constant, is it a group?

How do we know the LHC results are robust?

Purchasing a ticket for someone else in another country?

Crossing the line between justified force and brutality

Pre-amplifier input protection

Opposite of a diet

System.debug(JSON.Serialize(o)) Not longer shows full string

How do scammers retract money, while you can’t?

What does "I’d sit this one out, Cap," imply or mean in the context?

What Brexit proposals are on the table in the indicative votes on the 27th of March 2019?

How can I kill an app using Terminal?

Is `x >> pure y` equivalent to `liftM (const y) x`

Roman Numeral Treatment of Suspensions



What's causing this pvlib error: ImportError: The Linke turbidity lookup table requires scipy.


How can I get python3.4 to find the PySDL2 module I downloaded on win7?I'm having trouble importing a Python API from GitHubpip install Django on python3.6derivatives() function in scipy interpolate shows errorCannot import scipy in ipython (python 3.4.4)django on production 500 server error for User related Model in AdminModuleNotFoundError: No module named 'JayDeBeApi3'scipy ImportError: dlopen no suitable image found in Python 3google Colaboratory opencv xfeatures2d_SURF













1















I'm new to pvlip, python, and computer science generally, so please go easy with me!



I've written a little programme that takes a latitude and longitude and returns a forecast power generation for the site, using pvlib's ModelChain() and get_processed_data() methods, per the documentation.



It was all working fine until about an hour ago, when - without having made any changes to my python code - I suddenly started getting the following error:




ImportError: The Linke turbidity lookup table requires scipy. You can still use clearsky.ineichen if you supply your own turbidities.




A quick google tells me this is related to the "clearsky" module within pvlib - see http://pvlib-python.readthedocs.io/en/latest/_modules/pvlib/clearsky.html



However, I've got no idea why this suddenly isn't working, or what's changed.
I've tried 'pip install scipy' in my IDE (cloud9), and get the response:




Requirement already satisfied: scipy in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages
Requirement already satisfied: numpy>=1.8.2 in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages (from scipy)




If anyone can help, I'd be hugely grateful - I was "this close" to finishing my project!



Many thanks, Matt










share|improve this question






















  • You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

    – sascha
    Dec 4 '17 at 16:42











  • Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

    – Matt Friend
    Dec 5 '17 at 10:34











  • Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

    – Matt Friend
    Dec 5 '17 at 10:35











  • Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

    – Matt Friend
    Dec 5 '17 at 11:00












  • OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

    – Matt Friend
    Dec 5 '17 at 13:06















1















I'm new to pvlip, python, and computer science generally, so please go easy with me!



I've written a little programme that takes a latitude and longitude and returns a forecast power generation for the site, using pvlib's ModelChain() and get_processed_data() methods, per the documentation.



It was all working fine until about an hour ago, when - without having made any changes to my python code - I suddenly started getting the following error:




ImportError: The Linke turbidity lookup table requires scipy. You can still use clearsky.ineichen if you supply your own turbidities.




A quick google tells me this is related to the "clearsky" module within pvlib - see http://pvlib-python.readthedocs.io/en/latest/_modules/pvlib/clearsky.html



However, I've got no idea why this suddenly isn't working, or what's changed.
I've tried 'pip install scipy' in my IDE (cloud9), and get the response:




Requirement already satisfied: scipy in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages
Requirement already satisfied: numpy>=1.8.2 in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages (from scipy)




If anyone can help, I'd be hugely grateful - I was "this close" to finishing my project!



Many thanks, Matt










share|improve this question






















  • You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

    – sascha
    Dec 4 '17 at 16:42











  • Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

    – Matt Friend
    Dec 5 '17 at 10:34











  • Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

    – Matt Friend
    Dec 5 '17 at 10:35











  • Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

    – Matt Friend
    Dec 5 '17 at 11:00












  • OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

    – Matt Friend
    Dec 5 '17 at 13:06













1












1








1








I'm new to pvlip, python, and computer science generally, so please go easy with me!



I've written a little programme that takes a latitude and longitude and returns a forecast power generation for the site, using pvlib's ModelChain() and get_processed_data() methods, per the documentation.



It was all working fine until about an hour ago, when - without having made any changes to my python code - I suddenly started getting the following error:




ImportError: The Linke turbidity lookup table requires scipy. You can still use clearsky.ineichen if you supply your own turbidities.




A quick google tells me this is related to the "clearsky" module within pvlib - see http://pvlib-python.readthedocs.io/en/latest/_modules/pvlib/clearsky.html



However, I've got no idea why this suddenly isn't working, or what's changed.
I've tried 'pip install scipy' in my IDE (cloud9), and get the response:




Requirement already satisfied: scipy in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages
Requirement already satisfied: numpy>=1.8.2 in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages (from scipy)




If anyone can help, I'd be hugely grateful - I was "this close" to finishing my project!



Many thanks, Matt










share|improve this question














I'm new to pvlip, python, and computer science generally, so please go easy with me!



I've written a little programme that takes a latitude and longitude and returns a forecast power generation for the site, using pvlib's ModelChain() and get_processed_data() methods, per the documentation.



It was all working fine until about an hour ago, when - without having made any changes to my python code - I suddenly started getting the following error:




ImportError: The Linke turbidity lookup table requires scipy. You can still use clearsky.ineichen if you supply your own turbidities.




A quick google tells me this is related to the "clearsky" module within pvlib - see http://pvlib-python.readthedocs.io/en/latest/_modules/pvlib/clearsky.html



However, I've got no idea why this suddenly isn't working, or what's changed.
I've tried 'pip install scipy' in my IDE (cloud9), and get the response:




Requirement already satisfied: scipy in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages
Requirement already satisfied: numpy>=1.8.2 in /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages (from scipy)




If anyone can help, I'd be hugely grateful - I was "this close" to finishing my project!



Many thanks, Matt







python-3.x scipy pvlib






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 4 '17 at 15:55









Matt FriendMatt Friend

82




82












  • You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

    – sascha
    Dec 4 '17 at 16:42











  • Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

    – Matt Friend
    Dec 5 '17 at 10:34











  • Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

    – Matt Friend
    Dec 5 '17 at 10:35











  • Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

    – Matt Friend
    Dec 5 '17 at 11:00












  • OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

    – Matt Friend
    Dec 5 '17 at 13:06

















  • You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

    – sascha
    Dec 4 '17 at 16:42











  • Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

    – Matt Friend
    Dec 5 '17 at 10:34











  • Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

    – Matt Friend
    Dec 5 '17 at 10:35











  • Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

    – Matt Friend
    Dec 5 '17 at 11:00












  • OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

    – Matt Friend
    Dec 5 '17 at 13:06
















You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

– sascha
Dec 4 '17 at 16:42





You changed either where the IDE is looking up your python-interpreter or broke your scipy distribution. This problem surely is not much related to python or scipy. The core-problem seems to be the IDE-setup / scipy-setup. You can manually open up your interpreter within this environment (/opt/pyenv/versions/3.6.0/python?) and import scipy to get some indication if the scipy-setup is working.

– sascha
Dec 4 '17 at 16:42













Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

– Matt Friend
Dec 5 '17 at 10:34





Thanks sascha. I've followed the IDE's documentation to make sure that scipy, numpy and pvlib are all installed. I'm still getting the same error. I also get the following error: Exception ignored in: <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('172.17.0.51', 47126), raddr=('128.117.149.119', 80)> I'd be grateful for any further thoughts!

– Matt Friend
Dec 5 '17 at 10:34













Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

– Matt Friend
Dec 5 '17 at 10:35





Also, I don't know how to mnaually open the interpreter within the environment /opt/pyenv/versions/3.6.0/python... it's a cloud-based online IDE.

– Matt Friend
Dec 5 '17 at 10:35













Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

– Matt Friend
Dec 5 '17 at 11:00






Finally, if I type ls /opt/pyenv/versions/3.6.0/lib/python3.6/site-packages in my terminal, I can see that the scipy module is installed

– Matt Friend
Dec 5 '17 at 11:00














OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

– Matt Friend
Dec 5 '17 at 13:06





OK, another comment. Over the past two hours, my code has started working again, and now stopped again with the same errors and warnings. I haven't made any changes to the code. 2 hours ago I reinstalled scipy. At that point it still didn't work. 30 minutes later, it started working: no resource warnings or exceptions, no errors finding scipy. Now it's not working again, same errors and warnings. One thought - my cloud-based IDE was announced yesterday as having been acquired by AWS - maybe some bugs due to integration and migration???

– Matt Friend
Dec 5 '17 at 13:06












1 Answer
1






active

oldest

votes


















0














I fixed the issue while installing the "Hierarchical datasets for Python" package, thought the following command line :



pip install tables 





share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47637182%2fwhats-causing-this-pvlib-error-importerror-the-linke-turbidity-lookup-table-r%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I fixed the issue while installing the "Hierarchical datasets for Python" package, thought the following command line :



    pip install tables 





    share|improve this answer



























      0














      I fixed the issue while installing the "Hierarchical datasets for Python" package, thought the following command line :



      pip install tables 





      share|improve this answer

























        0












        0








        0







        I fixed the issue while installing the "Hierarchical datasets for Python" package, thought the following command line :



        pip install tables 





        share|improve this answer













        I fixed the issue while installing the "Hierarchical datasets for Python" package, thought the following command line :



        pip install tables 






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 7 at 12:58









        Jérôme BJérôme B

        3251316




        3251316





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f47637182%2fwhats-causing-this-pvlib-error-importerror-the-linke-turbidity-lookup-table-r%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко