Comments (10)
Ubuntu 16.04にPython3.5.1をインストールしたところ、Python3.5.1のインストールはできましたが、LIST 3 Pythonのバージョン確認にある python -V
で以下のメッセージが表示されます。
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: sudo apt install <selected package>
python3 -V
なら Python 3.5.1
が表示されます。
from pycamp.pycon.jp.
OS Xでの場合は手順通りにインストールできました。
from pycamp.pycon.jp.
Linuxでのインストールですが、pipが見当たりません。 which pip
でも何も表示されません。
from pycamp.pycon.jp.
テキスト見ずにコメントします。
もしubuntuなら、pythonインストール時にpipがインストールされないように仕組まれてます。別途python-pipのインストールが必要。
2016年6月3日(金) 21:22 Ryuji TSUTSUI [email protected]:
Linuxでのインストールですが、pipが見当たりません。 which pip でも何も表示されません。
—
You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAJQR_l1Eoar9FJlT8DyPGDpli88X8CTks5qIBxvgaJpZM4IZcpQ
.
from pycamp.pycon.jp.
@shimizukawa
テキストではUbuntu16.04を使う前提になっています。ということは、テキストにpython-pipをインストールする手順を追加する必要があるということですね。ありがとうございます。
from pycamp.pycon.jp.
こちらのUbuntu 16.04で python -V
でインストールの確認ができない件ですが、 python3 -V
に書き換えても良いのですが、python
にパス通す方法をご存知の方いませんか?
from pycamp.pycon.jp.
以下のページをみると、 /usr/bin/python が Python-3.x を指すことはなさそうです。
https://wiki.ubuntu.com/Python/3
こんな解決方法が紹介されてました。
alias python=python3
http://askubuntu.com/questions/320996/make-default-python-command-to-use-python-3
from pycamp.pycon.jp.
@shimizukawa aliasしか方法がないのですね。素直にテキストのほうを python3 -V
に書き換えたほうが良さそうな気がしますね。ありがとうございます。
from pycamp.pycon.jp.
@Akira-Taniguchi
検証結果は以下のとおりです。
Mac→手順通りで問題ない
Linux→幾つか問題があったので、検証結果に合わせてテキストを変更した
テキストの内容を確認して、問題なければIssueをCloseするようお願いします。
from pycamp.pycon.jp.
問題ないと判断したので、本issueをクローズします。
from pycamp.pycon.jp.
Related Issues (20)
- pyenvに関する記述を削除 HOT 1
- 「1.3. Pythonのインストール」に載っている公式ドキュメントのタイトルを修正
- WARNING: Title overline too short 対策
- PyPIのページ画像を更新する
- 7.3. シンプルなWeb APIのコード コラム JSON形式の追加 HOT 2
- 貢献者の名前を書く HOT 8
- リンク修正
- 2.1 Pythonインタープリタ起動コマンドの表記揺れ HOT 1
- スクレイピングのコードがエラーになる
- 4.4 辞書の順序保持についての記述が古い HOT 2
- スクレイピングの例にある connpass API へのリクエストが拒否される HOT 1
- API実行の説明、コード修正 HOT 1
- venvの説明に図解を入れる
- タプルとリストの違いの説明に辞書のキーになれることも追加する
- Windows 環境で普通に pip upgrade をすると環境が壊れる HOT 1
- pip コマンドの説明で実際に存在するモジュールを書いてあると誤ってインストールしてしまう
- 「繰り返し」「繰返し」の表記ゆれ修正 HOT 1
- devcontainer で執筆環境を簡単に構築できるように HOT 3
- 5章のフォルダ作成のコマンドが、Python対話ーモードになっている HOT 1
- 7章のWeb APIを取得するコード(films.py)が、実行時にエラーとなる。 HOT 3
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 pycamp.pycon.jp.