Closed fbenavides69 closed 4 years ago
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/c/Users/francisco.benavides/iso-lib/pyproject.toml'
This indicates that this file was not available in the PEP 517 isolated build enviroment. Check your package's sdist.
Installing collected packages: iso-lib
Running setup.py develop for iso-lib
ERROR: Command errored out with exit status 1:
command: /home/fbenavides/.cache/pypoetry/virtualenvs/iso-lib-3LeqttpQ-py3.8/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/c/Users/francisco.benavides/iso-lib/setup.py'"'"'; __file__='"'"'/mnt/c/Users/francisco.benavides/iso-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
cwd: /mnt/c/Users/francisco.benavides/iso-lib/
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/mnt/c/Users/francisco.benavides/iso-lib/setup.py", line 9, in <module>
from config import __name__
File "/mnt/c/Users/francisco.benavides/iso-lib/config/__init__.py", line 11, in <module>
from .__main__ import env
File "/mnt/c/Users/francisco.benavides/iso-lib/config/__main__.py", line 6, in <module>
import environs
ModuleNotFoundError: No module named 'environs'
This bit indicates that your project iso-lib
required environs
as a build-system
requirement. For example (assuming the iso-lib
project is built using setuptools
, it will need the following in its pyproject.toml
.
[build-system]
requires = ["setuptools", "wheel", "environs"]
build-backend = "setuptools.build_meta:__legacy__"
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
-vvv
option).Issue
While migrating from an Ubuntu box to Windows 10 Professional and recreating my development environment in the Windows Subsystem Linux, I have managed to install and update accordingly all needed libraries and settings, up to point of now trying to install the poetry environment to continue working and it just breaks!
I then re-run the given command that seems to be causing the error and get the following:
The
environs
module is in deed installed, so I have no idea why it's complaining.