Skip to content

Error: no installed version #9

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

Open
azze-r opened this issue May 8, 2015 · 12 comments
Open

Error: no installed version #9

azze-r opened this issue May 8, 2015 · 12 comments

Comments

@azze-r
Copy link

azze-r commented May 8, 2015

Hi,
Configuration : Manjaro Linux 32 bits (based on archlinux)
i wanted to try p
so, i learnt the readme what explains how to install it
i do :

  wget https://github.com/qw3rtman/p/releases/download/v0.1.0/p
  chmod +x p
  sudo mv p /usr/local/bin
  sudo p
  grep: /root/.zshrc: No files or folders of this type

  Error: no installed version
@ChristianBagley
Copy link

You've installed p, but the error you are getting is referencing python. You do not have an installed version of python that p can see, since p installs python versions in its own directory. To install a python version using p, use:

p ls #To see available python versions

#Then type p and the version you'd like to install, ex:

p 2.7.10

#Or to install the latest version of python

p latest

You should no longer get the error.

@azze-r
Copy link
Author

azze-r commented May 23, 2015

Thanks for the answer,
I tryed it, but i have compilation's error ><'

sudo p latest
[sudo] password for boblinux:

install : Python-3.5.0a4
create : /usr/local/p/versions/python/3.5.0a4
fetch : https://www.python.org/ftp/python/3.5.0/Python-3.5.0a4.tgz
configure : 3.5.0a4
compile : 3.5.0a4
# after a long time...
Exiting... (Quit)

Error: Unable to compile Python 3.5.0a4!

@ChristianBagley
Copy link

Did you try installing a different version of Python? Such as Python 2.X? I would need to see the log/output of the compiling to know what caused it to fail. I'll try to replicate the error on a Manjaro box, and post updates here.

@azze-r
Copy link
Author

azze-r commented May 24, 2015

  • You mean i have to try a different version of p?

    Error: Unable to compile Python 2.7.1!
    
  • Where can i find my compiling's log/output? I didn't find any directory named : /var/log/p

@bityon
Copy link

bityon commented Aug 14, 2015

@Boblinux I got the same error

@mazlum
Copy link

mazlum commented Sep 17, 2015

@Boblinux I have the same problem

@tswestendorp
Copy link

Same here

~# p 3.4.3

     install : Python-3.4.3
      create : /usr/local/p/versions/python/3.4.3
       fetch : https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz
   configure : 3.4.3
     compile : 3.4.3

  Error: Unable to compile Python 3.4.3!

@TheodoreYin
Copy link

@Boblinux The same error

@jevanluo
Copy link

@Boblinux I got the same error when I try to install 2.7.10, but it worked well with sudo. However, I try to install 3.5.1 in the same way with sudo, the error comes up again.

@TheodoreYin
Copy link

I got it on 3.5.1(with or without sudo), I'll try 2.7 again

@arthurazs
Copy link

@MModerato any luck installing 2.7?

@TheodoreYin
Copy link

oh! it worked well in 2.7
My apologize of forgetting this thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants