I am trying to install Open3D from https://github.com/isl-org/Open3D/tree/master/python because I would like to edit the code therefore I am not installing Open3D from PyPI. I downloaded the file from github to my local files and ran pip install Downloads/Open3D/python. I ran the installation under the python subdirectory because it contain setup.py and requirements.txt. However when I run the command pip install Downloads/Open3D/python, I get this error.
Processing c:\users\md fardin nahid\downloads\open3d\python
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
C:\Users\MDFARD~1\AppData\Local\Temp\pip-build-env-35qkg2d4\overlay\Lib\site-packages\setuptools\config\setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
error in #PYPI_PACKAGE_NAME# setup command: 'NoneType' object has no attribute 'group'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have tried directly installing from the github using pip install "git+https://github.com/isl-org/Open3D.git" which did not work because the directory did not contain setup.py or pyproject.toml.
Anyone know how I can fix this issue? or anyone know any other ways I am able to download Open3D from github so that I can edit the code? I am using anaconda. I am new to this package stuff. Thanks.
Windows 11
pip 22.2.2
python 3.7.15
git version 2.38.1.1
Related
I would like to install nvidia modulus through the bare metal installation (since I dont have a GPU, so I cant setup the docker). So I have to install a fiew pip packages including symengine==0.6.1. I have installed all but symengine, because I have this error :
pip install symengine==0.6.1
Collecting symengine==0.6.1
Using cached symengine-0.6.1.tar.gz (721 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
error: Multiple top-level packages discovered in a flat-layout: ['cmake', 'symengine'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I updated setuptools 66.1.1 and pip 22.3.1. I also installed ez_setup 0.9, but couldnt install unroll and then tried the "easy_install -U setuptools" that doesnt find easy_install.
I am trying to install pycaret in Google Colab and I am getting this error:
error: **subprocess-exited-with-error**
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× **Encountered error while generating package metadata.**
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I am attaching the screenshot for reference. Can anyone help me with that? Thanks in advance
I was trying !pip install pycaret[full] on Google Colab and this happened:
I just ran into the same issue. Was able to get around it running the cell with a regular pip install twice in succession:
pip install pycaret
I am attempting to install psycopg2 for use within a project. I am also using asdf in order to manage my python versions. I have tried doing this inside of a venv but I get the same error so to keep things simple let's just say I want to install it outside of a venv.
❯ cat .tool-versions
nodejs 15.9.0
python 3.10.8
postgres 11.8
❯ which pip
~/.asdf/shims/pip
❯ which pg_config
~/.asdf/shims/pg_config
❯ pg_config --version
PostgreSQL 11.8
❯ pip install psycopg2
Collecting psycopg2
Using cached psycopg2-2.9.5.tar.gz (384 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
~/.asdf/installs/python/3.10.8/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running egg_info
creating <redacted_temp_folder>/T/pip-pip-egg-info-3tgyoyym/psycopg2.egg-info
writing <redacted_temp_folder>/T/pip-pip-egg-info-3tgyoyym/psycopg2.egg-info/PKG-INFO
writing dependency_links to <redacted_temp_folder>/T/pip-pip-egg-info-3tgyoyym/psycopg2.egg-info/dependency_links.txt
writing top-level names to <redacted_temp_folder>/T/pip-pip-egg-info-3tgyoyym/psycopg2.egg-info/top_level.txt
writing manifest file '<redacted_temp_folder>/T/pip-pip-egg-info-3tgyoyym/psycopg2.egg-info/SOURCES.txt'
Error: b'No version is set for command pg_config\n'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Everything I can find seems to revolve around installing pg_config or postgresql or some other dependency but no one else seems to have encountered this exact error. The best I can figure is that somehow the process python setup.py egg_info is not using the same $PATH as the root command, maybe because it's working directory is outside of the scope of my .tool-versions? Any help is appreciated.
It appears that the correct way to get pip to find pg_config is to set the postgres version globally:
asdf global postgres 11.8
source
I keep getting error: legacy-install-failure error while installing OpenVino using pip install openvino-dev[ONNX,tensorflow2]. I've tried to upgrade and reinstall wheel, setup tool and pip.
Below is the full error:
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Encountered error while trying to install package.
numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
The error occurs due to unsupported Python version (Python 3.10 is not yet supported by OpenVINO™). OpenVINO™ Toolkit is supported only for Python versions 3.6-3.9 on Windows OS.
Refer to the System Requirements for more information.
i'm using odoo 14.0 version and python 3.10
pip install -r requirements.txt
whenever I write this it gives me the same error over and over
I tried almost all the solutions
it gives me this:
error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.