Coder Social home page Coder Social logo

Comments (5)

louwrentius avatar louwrentius commented on August 19, 2024 1

from fio-plot.

PatNarciso avatar PatNarciso commented on August 19, 2024

This server is: CentOS Linux release 7.3.1611 (Core)

from fio-plot.

louwrentius avatar louwrentius commented on August 19, 2024

This is the temporary fix:

import os
import sys
import json
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import argparse

I ran this on Debian and it worked, but the fonts are screwed up. I'll look at that later. The tool is written on MacOS with brew.

from fio-plot.

samuel1978 avatar samuel1978 commented on August 19, 2024

spent lots of time on this problem, here is my solution effectively:

  1. yum -y install tkinter tcl-devel tk-devel

to your python directory: vim ......./Python3.6.2/Modules/Setup.dist

  1. Remove comments from these lines:

_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \

-L/usr/local/lib \

-I/usr/local/include \

-ltk8.5 -ltcl8.5 \ # default is 8.2 and you should change it to the version you installed in step1

-lX11

./configure
make && make install

from fio-plot.

louwrentius avatar louwrentius commented on August 19, 2024

I have released an almost total rewrite that requires python3. I've tested it on a clean Linux box and it seems to work fine, without the issues reported above.

from fio-plot.

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.