p icon indicating copy to clipboard operation
p copied to clipboard

Error: no installed version

Open azze-r opened this issue 9 years ago • 12 comments

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

azze-r avatar May 08 '15 14:05 azze-r

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.

ChristianBagley avatar May 23 '15 19:05 ChristianBagley

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!

azze-r avatar May 23 '15 22:05 azze-r

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.

ChristianBagley avatar May 24 '15 00:05 ChristianBagley

  • 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

azze-r avatar May 24 '15 10:05 azze-r

@boblinux I got the same error

bityon avatar Aug 14 '15 10:08 bityon

@boblinux I have the same problem

mazlum avatar Sep 17 '15 12:09 mazlum

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!

tswestendorp avatar Sep 24 '15 06:09 tswestendorp

@boblinux The same error

TheodoreYin avatar Aug 22 '16 16:08 TheodoreYin

@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.

jevanluo avatar Aug 26 '16 18:08 jevanluo

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

TheodoreYin avatar Aug 27 '16 03:08 TheodoreYin

@MModerato any luck installing 2.7?

arthurazs avatar Oct 25 '16 00:10 arthurazs

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

TheodoreYin avatar Oct 26 '16 05:10 TheodoreYin