Comments (8)
why?
with installation below:
sudo pip install fortune.
this work well in ubuntu.
from fortune.
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.
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.
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.
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.
In Asia, this is the middle night. It seems you will stay up tonight!
from fortune.
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.
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)
- Installation fails. HOT 3
- EOFError HOT 4
- Aha, come again HOT 2
- error
- Windows: env var `$FORTUNE_FILE` not found by default HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortune.