-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install python3 library #261
Comments
I don't know if StaSh supports this, but if you run `pip3` on actual
computer shells, it allows you to install Python 3 packagea and modules.
The reason it won't work is because `pip` installs Python 2 packages due to
StaSh being written in Python 2.
…On Fri, Aug 4, 2017, 4:50 PM Jortana ***@***.***> wrote:
For example, I just pip install beautifulsoup4 and it works
But when I from bs4 import BeautifulSoup
I got a problem.
It says I try run python2 code in python3
How to solve it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#261>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI7qXWRFoKkp0RdjG9L7dTR8ToWq8l5Kks5sU4QcgaJpZM4OuLRu>
.
|
It seems not work.
在 2017年8月5日,05:13,Sean Wilkerson <notifications@github.com<mailto:notifications@github.com>> 写道:
I don't know if StaSh supports this, but if you run `pip3` on actual
computer shells, it allows you to install Python 3 packagea and modules.
The reason it won't work is because `pip` installs Python 2 packages due to
StaSh being written in Python 2.
On Fri, Aug 4, 2017, 4:50 PM Jortana ***@***.******@***.***>> wrote:
For example, I just pip install beautifulsoup4 and it works
But when I from bs4 import BeautifulSoup
I got a problem.
It says I try run python2 code in python3
How to solve it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#261>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI7qXWRFoKkp0RdjG9L7dTR8ToWq8l5Kks5sU4QcgaJpZM4OuLRu>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#261 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcJb3AtsG7nTSz59bn6cQe6ehp6LQ0Xkks5sU4mNgaJpZM4OuLRu>.
|
Yeah |
I will be so excited If someone could add pip3.
But now I just copy the folder from my computer.
On 5 Aug 2017, at 07:53, Sean Wilkerson <notifications@github.com<mailto:notifications@github.com>> wrote:
Yeah pip3 doesn't work on StaSh. You may need to just install Python 2 modules.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#261 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcJb3CyDR0_wTpaMU4D7TXhzI_hBpJWEks5sU68OgaJpZM4OuLRu>.
|
@Jortana the problem is that StaSh itself is written in Python 2, so making a |
bennr01
added a commit
to bennr01/stash
that referenced
this issue
May 4, 2018
#About this commit/PR This is a commit/PR to close a large number of old/fixed issues at once using the github `fix #<issuenumber>` syntax. Below is a list of all issues which will automatically be closed by merging this commit/PR into `ywangd/master`. Behind each issue number is a short summary about the issue or why it can be closed. #Issues which can be closed **Py3 related:** - fix ywangd#281 (py3 had not yet been supported) - fix ywangd#261 (python3 pip installation) - fix ywangd#246 (python3 code in python2) - fix ywangd#222 (python3 command in stash) - fix ywangd#200 (pip now works (at least partially) with python3) - close ywangd#197 (general pythonista3 compatibility thread) **Questions which have been answered / unfixable bugs:** - close ywangd#310 (pip installation with c code) - close ywangd#292 (StaSh is not dead; also a question regarding py3) - close ywangd#290 (pip installation, problem solved) - close ywangd#289 (answer provided, no further activity by reporter) - close ywangd#279 (pip install protects standard distribution) - close ywangd#245 (answered) - close ywangd#244 (not possible (unless someone finds a workaround) - close ywangd#243 (c-code in pip installation) - close ywangd#208 (question answered) **implemented suggestions/changes:** - fix ywangd#273 (partially implemented as part of py2and3) - fix ywangd#193 (implemented by now) - fix ywangd#63 (subcommand completion; implemented long ago) - fix ywangd#39 (pip; implemented long ago) **fixed bugs:** - fix ywangd#308 (https error in pip; fixed) - fix ywangd#223 (old beta-related bug) - fix ywangd#211 (old beta-related bug) - fix ywangd#209 (seems to be fixed, can not reproduce) - fix ywangd#206 (git did not clone into subdirectory; fixed) - fix ywangd#98 (telnet did not send \r\n; fixed) **other stuff:** - close ywangd#260 (no useful bug description) - close ywangd#258 (no useful bug description) - close ywangd#251 (not a bug but an announcement, no longer relevant) - close ywangd#241 (works now) - close ywangd#219 (no further acivity by reporter, likely user error) #Issues which can be closed, but where the underlying issue has not been fixed - close ywangd#285 (pip command too complex) - close ywangd#291 (pip installation question, but not c-code related. But seems package-related) - close ywangd#274 (pip install problem, at least partial related to c-code, no further activity by reporter)
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, I just
pip install beautifulsoup4
and it worksBut when I
from bs4 import BeautifulSoup
I got a problem.
It says I try run python2 code in python3
How to solve it?
The text was updated successfully, but these errors were encountered: