Comments (6)
Oh wow that is surprising. No pipx does not read anything local. That command should be operating entirely out of a temporary directory.
Can you re-run with
pipx --verbose ipython
Thanks for reporting!
from pipx.
Do you have any environment variables or startup scripts that might be running when Python or pip are invoked?
from pipx.
Do you have any environment variables or startup scripts that might be running when Python or pip are invoked?
No!
I re-ran it with isort
instead of ipython
(same warning appears):
$ pipx --verbose isort
pipx (run_ephemeral_binary:719): virtualenv is temporary, its location is /tmp/isort_wps9u3v6
pipx (_run:230): running /home/pawamoy/.local/pipx/venvs/pipx-app/bin/python -m venv /tmp/isort_wps9u3v6
pipx (_run:230): running /tmp/isort_wps9u3v6/bin/python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
aria2p 0.1.0 requires requests, which is not installed.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.1
pipx (_run:230): running /tmp/isort_wps9u3v6/bin/python -m pip install isort
Collecting isort
Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl
Installing collected packages: isort
Successfully installed isort-4.3.4
pipx (_run:230): running /tmp/isort_wps9u3v6/bin/isort
--- /home/pawamoy/Data/git/pawamoy/aria2p/src/aria2p/client.py:before 2018-12-16 21:10:21.034043
+++ /home/pawamoy/Data/git/pawamoy/aria2p/src/aria2p/client.py:after 2018-12-17 18:21:46.491684
@@ -1,6 +1,6 @@
import json
+
import requests
-
DEFAULT_MSG_ID = -1
Apply suggested changes to '/home/pawamoy/Data/git/pawamoy/aria2p/src/aria2p/client.py' [y/n/q]? q
from pipx.
Just like in #56, I removed theΒ egg-info
directory and the warning does not appear anymore. As you said I think it's related to pip
and not pipx
from pipx.
I wonder if it makes sense for pipx to display a warning indicating that the directory name will take precedence over the PyPI package name.
from pipx.
I don't know how much control you have over pip
's internals, but yes, if you can detect this type of situation and display a warning it would be great. Otherwise a simple note in the README/docs/wiki about what happens when there is an *.egg-info
directory in the current dir could be nice as well.
from pipx.
Related Issues (20)
- pipx enters in infinite loop when trying to install a package on python distributed with MSYS2 on Windows (2nd)
- Windows: Use the Python Launcher to Select Python Version HOT 4
- Pip args do not behave similarly for `pipx install` and `pipx run` HOT 6
- Exit code 0 if installing non-existing package on Windows HOT 6
- pipx run --quiet mode HOT 3
- Cannot install or update Maestral HOT 4
- `pipx run wheel` / `install wheel` doesn't work HOT 7
- Package List Reinstall: pipx install --packages pipx-list.json HOT 2
- Error on `pipx install <package>` HOT 6
- inject command uses wrong python interpreter for local packages
- Pre-release dependencies breaking parsing HOT 5
- pipx fails on corporate network HOT 1
- Pipx install does not honour --index-url when it updates pip/setuptools/wheel HOT 1
- reinstall-all reinstalls everything but pipx HOT 1
- After reinstall-all, tox is gone
- pipx install ansible the bin link to ansible-community not ansible HOT 2
- Allow installing multiple applications with `install` command HOT 1
- Allow `pipx` to use active `python` (and `pip`) HOT 1
- Pipx cannot install apps depending on kivy on Ubuntu 23.04 HOT 11
- reinstall / reinstall-all does not respect injected packages HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipx.