Giter Club home page Giter Club logo

Comments (8)

smileboywtu avatar smileboywtu commented on September 15, 2024

why?
with installation below:
sudo pip install fortune.
this work well in ubuntu.

from fortune.

bmc avatar bmc commented on September 15, 2024

I don't have enough information to diagnose this problem.

  • What platform?
  • What version of Python?

I have (just) successfully installed it on Windows 7, and I frequently install it on Ubuntu and Mac OS X.

Please include more information; otherwise, I cannot help.

from fortune.

smileboywtu avatar smileboywtu commented on September 15, 2024

Aha

  • Ubuntu 14.04
  • python2 default(alternatively with python3.4)

I install it successfully with pip but can't install with sudo python install command.
Notice: it can't find a install script from the download package.

from fortune.

bmc avatar bmc commented on September 15, 2024

I'm not sure why you want to install it with sudo. However, I have an Ubuntu 14.04 instance here. I just installed it with sudo, without seeing the error you're seeing.

from fortune.

smileboywtu avatar smileboywtu commented on September 15, 2024

wow, I just try to use it. I like use the default program supplied by the system. so I just use the sudo without installing pip.The error seems lacking a file from download package. "Couldn't find a setup script in /tmp/easy_install-6K1u0m/grizzled-python-1.0.3.linux-x86_64.tar.gz"

from fortune.

smileboywtu avatar smileboywtu commented on September 15, 2024

In Asia, this is the middle night. It seems you will stay up tonight!

from fortune.

bmc avatar bmc commented on September 15, 2024

As I said, I cannot reliably reproduce this error on my Ubuntu 14.04 system.

In general, it's not a good idea to install third-party packages into the Ubuntu system Python. There are system utilities that use Python, on various Linux distributions. Messing with the system Python runs the risk of screwing up those utilities.

Most Python programmers recommend using something like virtualenv to install a lightweight virtual Python environment, one that is (a) separate from the system Python, and (b) does not require root permissions to install things.

That's how I generally run Python. It's safer.

from fortune.

smileboywtu avatar smileboywtu commented on September 15, 2024

I just a newer to Python, I want to learn some source code to know more about this language. When using docker, I find the fortune program is very interesting, so I just want to see how to implement them.Here I just find you.

from fortune.

Related Issues (6)

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.