question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The --target option clashes with other command line flags and config files

See original GitHub issue

The --target option clashes with several other command like flags and config files like --user and distutils setup. Ideally we should handle this far more gracefully.

See also #3826, #4106, #562, #4139

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:26
  • Comments:28 (11 by maintainers)

github_iconTop GitHub Comments

17reactions
rdloucommented, May 30, 2019

Is there an update for this? its pretty essential for creating zips to deploy on aws lambda

12reactions
revmischacommented, Oct 22, 2018

Getting this error when installing with pipenv a local -e module:

  Running setup.py develop for Flask-Serverless
    Complete output from command /Users/cyber/.virtualenvs/jbwidgets-Jr4Btlt8/bin/python3.7 -c "import setuptools, tokenize;__file__=
'/Users/cyber/dev/flask-serverless/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close(
);exec(compile(code, __file__, 'exec'))" --no-user-cfg develop --no-deps --home=/private/var/folders/n8/rmzyc9yx2zvbc978_p6y_by40000g
n/T/pip-target-1lg_9i3s:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help
    
    error: option --home not recognized
Read more comments on GitHub >

github_iconTop Results From Across the Web

Command-line Reference - fpm - packaging made simple
This page documents the command-line flags available in FPM. ... where you want to use a common configuration or inject other parameters from...
Read more >
pkg-config(1) - Linux man page
If pkg-config can find all the libraries on the command line, each library's ... This option is identical to "--cflags", only it prints...
Read more >
Command-Line Reference | Bazel
Builds the specified targets. canonicalize-flags, Canonicalizes a list of bazel options. clean, Removes output files and optionally stops the ...
Read more >
Configuration File | API | Docs - TestCafe
Set the --config-file command line option to use a configuration file with a custom name. TestCafe supports two configuration file formats: .js and...
Read more >
Configuration - The Cargo Book
Note: Cargo also reads config files without the .toml extension, such as .cargo/config . ... Extra command-line flags to pass to rustc ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found