Coder Social home page Coder Social logo

how can i solve this error about maxfield HOT 11 CLOSED

 avatar commented on July 4, 2024
how can i solve this error

from maxfield.

Comments (11)

tvwenger avatar tvwenger commented on July 4, 2024

Haven't seen that problem before. What version of pandas are you running?

from maxfield.

 avatar commented on July 4, 2024

Requirement already satisfied: pandas>=0.14.1 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 6))

from maxfield.

tvwenger avatar tvwenger commented on July 4, 2024

Ok, I see that your version of pandas is >= 0.14.1, but what version are you running?

from maxfield.

 avatar commented on July 4, 2024

pandas-0.19.2-cp27-cp27mu-manylinux1_x86_64.whl

from maxfield.

 avatar commented on July 4, 2024

I‘m switch to another source to reinstall pandas.

from maxfield.

tvwenger avatar tvwenger commented on July 4, 2024

Alright, this just seems like a problem with your installation of pandas. I just upgraded pandas to 0.19.2 and had no problem. Closing this issue.

from maxfield.

 avatar commented on July 4, 2024

I'm stil running into a problem.
python makePlan.py -n 1 portal.csv -d out/ -f output.pkl
Traceback (most recent call last):
File "makePlan.py", line 48, in
from pebble import process, TimeoutError # to handle timeout
File "/usr/local/lib/python2.7/dist-packages/pebble/process/init.py", line 3, in
from pebble.process.pool import Pool
File "/usr/local/lib/python2.7/dist-packages/pebble/process/pool.py", line 24, in
from pebble import thread
File "/usr/local/lib/python2.7/dist-packages/pebble/thread/init.py", line 3, in
from pebble.thread.pool import Pool
File "/usr/local/lib/python2.7/dist-packages/pebble/thread/pool.py", line 21, in
from pebble.pool import ERROR, RUNNING, SLEEP_UNIT
ImportError: cannot import name ERROR

cycler==0.10.0
dnspython==1.12.0
docopt==0.6.2
functools32==3.2.3.post2
futures==3.0.5
matplotlib==2.0.0
networkx==1.8.1
numpy==1.12.0
pandas==0.19.2
Pebble==4.1.0
pycrypto==2.6.1
pyparsing==2.2.0
python-dateutil==2.6.0
pytz==2016.10
six==1.10.0
subprocess32==3.2.7

from maxfield.

 avatar commented on July 4, 2024

i guess there is something wrong with Pebble? @tvwenger

from maxfield.

tvwenger avatar tvwenger commented on July 4, 2024

This looks like a problem with pebble, not with Maxfield.

from maxfield.

pwiecz avatar pwiecz commented on July 4, 2024

I have the same problem ("ImportError: cannot import name ERROR") on my computer.
As a workaround I've just removed the offending import from the makePlan.py because I don't use the timeout feature.

from maxfield.

 avatar commented on July 4, 2024

@pwiecz 解决了。
我用了100+的portal来规划多重,然后网站提示说耗时太久,拒绝了,于是我就放到自己的vps上运行了。
运行的时间的确挺长。

from maxfield.

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.