Closed lionlai1989 closed 2 years ago
Hi: When I run the `python3 -m pip install -e ".[test]", I got the following error message.
Building wheels for collected packages: psutil Running setup.py bdist_wheel for psutil ... error Complete output from command /home/lai/LiveEO/venv_pleiades_stereo_pipeline/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-s7nndm8f/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp6fpzd82lpip-wheel- --python-tag cp36: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'bdist_wheel' ---------------------------------------- Failed building wheel for psutil
This error should be solved by adding pip install wheel in the environment. Therefore, in setup.py, the requirement variable should be the following.
pip install wheel
setup.py
requirement
requirements = ['wheel', 'numpy', 'scipy', 'rasterio[s3]>=1.0.14', 'utm', 'pyproj>=2.0.2,<3.0.0', 'beautifulsoup4[lxml]', 'plyfile', 'plyflatten>=0.2.0', 'ransac', 'rpcm>=1.4.6', 'srtm4>=1.1.2', 'requests']
======== Edit ======== It looks like it will be fine without wheel if I update the venv first with the following command. python3 -m pip install --upgrade pip setuptools
python3 -m pip install --upgrade pip setuptools
Hi: When I run the `python3 -m pip install -e ".[test]", I got the following error message.
This error should be solved by adding
pip install wheel
in the environment. Therefore, insetup.py
, therequirement
variable should be the following.======== Edit ======== It looks like it will be fine without wheel if I update the venv first with the following command.
python3 -m pip install --upgrade pip setuptools