ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
See original GitHub issueWhen I follow the below mentioned steps, I run into an error
git clone https://github.com/asyml/texar.git
cd texar
pip install .
ERROR: Directory ‘.’ is not installable. Neither ‘setup.py’ nor ‘pyproject.toml’ found.
Can someone please help me fix this bug ? Was the setup.py removed from the “texar” directory ? Thanks in advance : )
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Directory is not installable. Neither 'setup.py' nor 'pyproject ...
Does this work? You can create a new folder e.g. lib , and run this command: pip3 install <your_python_module_name> -t lib/.
Read more >ERROR in getting setup.py and project.toml - Ask Ubuntu
I am getting the following error using pip. The error: ... is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Read more >Error message, for "pip install /path/to/the/skimulator/directory ...
Neither 'setup.py' nor 'pyproject.toml' found. Is it better to install using python setup.py install ? I tried this before and it didn' ......
Read more >jupyterhub/binder - Gitter
I'm getting ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. . Maybe the the pip command is running before the...
Read more >Need help installing Leo on Windows - Google Groups
ERROR : Directory 'C:\\Users\\user\\OneDrive' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. "Installing Leo with pip" recommendation did ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m curious why setup.py would be missing if you cloned the repo directly?
You may try copy the
setup.pyfile to your directory.Facing similar issue pip3.9 install mariadb Collecting mariadb Using cached mariadb-1.0.10.zip (85 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: Can not execute
setup.pysince setuptools is not available in the build environment. [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.