Closed FreshImmuc closed 1 year ago
Did you try pip install -e .
which will automatically generate proxy.common._scm_version
file for you.
I tried, it gives me this Error:
root@XXXXXXX:/home/proxy.py# pip install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/proxy.py
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
pip install -U pip
should solve this. Also make sure /home/proxy.py
contains repo clone.
Okay hm so i did this:
root@XXXX:/home/proxy.py# pip install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/proxy.py
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
root@XXXX:/home/proxy.py# ls
benchmark codecov.yml dashboard docs git-pre-push Makefile ProxyPy.png README.md requirements-tunnel.txt shortlink.gif tox.ini
CHANGELOG.md CODE_OF_CONDUCT.md Dashboard.png examples helper MANIFEST.in pyproject.toml requirements-release.txt SECURITY.md skeleton tutorial
check.py CONTRIBUTING.md Dockerfile git-pre-commit LICENSE proxy pytest.ini requirements-testing.txt setup.cfg tests write-scm-version.sh
root@XXXX:/home/proxy.py# pip install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/proxy.py
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
root@XXXX:/home/proxy.py# pip install -U pip
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.0.2
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-22.3.1
root@XXXX:/home/proxy.py# pip install -e .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/proxy.py
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
And it still gives me the same Error
Alright by simply putting sudo infront of the command fixed it... Sorry but thanks anyways! :)
Hey, I already tried building the container locally several times. I also already tried installing the dependencies from "#1093" But i still get this error everytime i try to execute
make container
: