Giter Site home page Giter Site logo

Comments (6)

capaulson avatar capaulson commented on August 18, 2024

I need to update the pip version. Try pulling the master from github to install. Let me know if you have any more problems.

from pykriging.

ymyang0611 avatar ymyang0611 commented on August 18, 2024

Hello ,
Has the problem been solved?
I had the same problem when i trying run demo in introduction yesterday

File "C:\Users\xxxxx\Anaconda3\lib\site-packages\pyKriging\krige.py", line 142
except Exception, err:
^
SyntaxError: invalid syntax

from pykriging.

capaulson avatar capaulson commented on August 18, 2024

@ymyang0611 This is using the version on pip? Can you try installing using the latest Github source? Does the problem still exist?

from pykriging.

ymyang0611 avatar ymyang0611 commented on August 18, 2024

@capaulson if i install module using the latest Github source,The following error is prompted:
Traceback (most recent call last):
File "E:/Code/PyCode/TEMP.py", line 1, in
import pyKriging
File "C:\Users\xxx\AppData\Local\Programs\Python\Python35\lib\site-packages\pykriging-0.1.0-py3.5.egg\pyKriging_init_.py", line 2, in
from .krige import *
File "C:\Users\xxx\AppData\Local\Programs\Python\Python35\lib\site-packages\pykriging-0.1.0-py3.5.egg\pyKriging\krige.py", line 6, in
from scipy.optimize import minimize
File "C:\Users\xxx\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy\optimize_init_.py", line 240, in
from .optimize import *
File "C:\Users\xxx\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy\optimize\optimize.py", line 37, in
from .linesearch import (line_search_wolfe1, line_search_wolfe2,
File "C:\Users\xxx\AppData\Local\Programs\Python\Python35\lib\site-packages\scipy\optimize\linesearch.py", line 18, in
from scipy.optimize import minpack2

from pykriging.

capaulson avatar capaulson commented on August 18, 2024

Ok, well that's good news. This now has issues with scipy. Which version of Scipy are you using?

On python3.5 on ubuntu, I get:

>>> import scipy
>>> from scipy.optimize import minpack2
>>> scipy.__version__
'0.17.0'

from pykriging.

capaulson avatar capaulson commented on August 18, 2024

Closing because no additional information was provided.

from pykriging.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.