it gives this error:
Downloading mailer-0.8.1.zip (6.5 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in mailer setup command: use_2to3 is invalid.
[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 tried upgrading pip and restarting my computer and completly uninstall python and dosent work
if no one can find a way to install can someone give me an idea of how i can send emails with my python script?
Related
Getting error in cPanel while installing requirements.txt file in django project.
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. ╰─> cffi 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. note: This error originates from a subprocess, and is likely not a
problem with pip.
I am trying to install lightening from setu.py but it fails while installing osjson-3.8.0. So, I tried to manually install it using pip install --upgrade orjson but it given error in pyproject.toml file.
Collecting orjson
Using cached orjson-3.8.1.tar.gz (860 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[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'm getting this error message when trying to install BPIPE API python SDK
command
pip3 install --index-url=https://bcms.bloomberg.com/pip/simple blpapi
error message
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Looking in indexes: https://bcms.bloomberg.com/pip/simple
Collecting blpapi
Using cached https://bcms.bloomberg.com/pip/simple/blpapi/blpapi-3.18.3.tar.gz (304 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Looking in indexes: https://bcms.bloomberg.com/pip/simple
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[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.
note: This error originates from a subprocess, and is likely not a problem with pip.
I'm trying to deploy a Flask app to Vercel and get this error, which I believe is because of the python-pushover package.
Here is the error log which gets generated after I run vercel --prod on the terminal.
[01:19:33.416] Downloading 523 deployment files...
[01:19:42.856] Looking up build cache...
[01:19:43.125] Build Cache not found
[01:19:43.439] Running "vercel build"
[01:19:44.052] Vercel CLI 25.1.1-canary.7 build (beta) — https://vercel.com/feedback
[01:19:44.211] WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
[01:19:44.350] Installing required dependencies...
[01:19:48.362] Failed to run "pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path1/requirements.txt"
[01:19:48.424] Error! Command failed: pip3.9 install --disable-pip-version-check --target . --upgrade -r /vercel/path1/requirements.txt
[01:19:48.424] error: subprocess-exited-with-error
[01:19:48.424]
[01:19:48.424] × python setup.py egg_info did not run successfully.
[01:19:48.425] │ exit code: 1
[01:19:48.425] ╰─> [1 lines of output]
[01:19:48.425] error in python-pushover setup command: use_2to3 is invalid.
[01:19:48.425] [end of output]
[01:19:48.425]
[01:19:48.425] note: This error originates from a subprocess, and is likely not a problem with pip.
[01:19:48.425] error: metadata-generation-failed
[01:19:48.425]
[01:19:48.425] × Encountered error while generating package metadata.
[01:19:48.426] ╰─> See above for output.
[01:19:48.426]
[01:19:48.426] note: This is an issue with the package mentioned above, not pip.
[01:19:48.426] hint: See above for details.
[01:19:48.426]
[01:19:48.428] Collecting python-pushover==0.4
[01:19:48.428] Downloading python-pushover-0.4.tar.gz (19 kB)
[01:19:48.428] Preparing metadata (setup.py): started
[01:19:48.428] Preparing metadata (setup.py): finished with status 'error'
[01:19:48.428]
[01:19:48.535] Error: Command "vercel build" exited with 1
I have python3.9 installed in the Pipenv environment.
Has anyone encountered this error before and can provide a solution?
Thanks!
Maybe, You have to check version is support by vercel. I had a similar error, I can solve it fist by checking if I using the venv in python then check if it update.
On Windows the recommended command is:
python -m pip install --upgrade pip
I've been trying to install some packages in my program using the pip install -r requirement.txt format but all I get is:
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in demjson setup command: use_2to3 is invalid.
[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.
What can I do to get rid of that error?