virtualbox – Installing liboqs-python: Python 3 bindings for liboqs issue can’t find setup.py
I am not a developer and new to this. I am running Ubuntu 22.10 in a VirtualBox 7.0 VM.
I am trying to install Python 3 Bindings for liboqs.
The steps that fail from the link are
# create & activate virtual environment, e.g.:
python3 -m venv <virtualenv_name>
source <virtualenv_name>/bin/activate
cd /some/dir/liboqs-python
python3 setup.py install
The last two steps are the issue (virtenv was setup okay). I interpreted the last two steps to mean to create a dir and subdir called liboqs-python anywhere within the virtenv dir and then run the python3 command (python3 setup.py install). Is that correct?
The problem is with the last step as it does not find the setup.py file.
python3: can't open file '/home/vboxuser/liboqs/virtpyth/lib/setup.py': [Errno 2] No such file or directory
When I do
find . -name setup.py
It finds a file, but it is not in this directory (and I would think it should be the one in the Git list in the link).
./lib/python3.10/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py
What am I doing wrong and how can I fix it?
Read more here: Source link
