fplll / g6k

The General Sieve Kernel
GNU General Public License v2.0
103 stars 31 forks source link

An error about virtualenv occurred while installing the library #92

Closed s4lTea closed 3 years ago

s4lTea commented 3 years ago

Thank you very much for providing this library,I can't wait to install it to complete my research. But an error occurred during installation : ( When I use command ./bootstrap.sh [ -j # ] to create local python env, ubuntu reports me the following error:


./bootstrap.sh: line 13: python: command not found Usage: ./bootstrap.sh [ -j <#jobs> ] (uses system's python) PYTHON=python2 ./bootstrap.sh (uses python2) PYTHON=python3 ./bootstrap.sh (uses python3)

Using python version: Using -j 4 ./bootstrap.sh: line 24: python: command not found ./bootstrap.sh: line 25: g6k-env/bin/activate: No such file or directory Failed to create virtual environment in 'g6k-env' ! Is 'python -m virtualenv' working? Try 'python -m pip install virtualenv' otherwise.


Then I turn to type python -m virtualenv, it reports me :


virtualenv: error: the following arguments are required: dest SystemExit: 2


I tried again and again, and I can not find where the problem is : ( I'm going crazy

s4lTea commented 3 years ago

I'm here to apologize for my stupid question I just solved this problem by use PYTHON=python3 ./bootstrap.sh You can close the issue.