colesbury / nogil

Multithreaded Python without the GIL
Other
2.91k stars 107 forks source link

Install with pyenv ubuntu need updation #92

Closed bibinvargheset closed 1 year ago

bibinvargheset commented 1 year ago

First see if you have the curl already installed in your machine using the command:

$ curl --version

If you don't have, install the curl using:

$ sudo apt-get install curl

After that install the pyenv using the command:

$curl https://pyenv.run | bash

And after installation update your bashrc adding the lines:

export PATH="~/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" Finally Reload the bashrc:

$ source ~/.bashrc

bibinvargheset commented 1 year ago

if is based on https://akrabat.com/creating-virtual-environments-with-pyenv/ it will be much more acccurate

colesbury commented 1 year ago

Thanks, I've updated the wiki with a link to https://github.com/pyenv/pyenv/wiki#suggested-build-environment which has instructions for various Linux distributions.

https://github.com/colesbury/nogil/wiki/Install-nogil-with-pyenv-on-Linux#prerequisites