ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

See original GitHub issue

When 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:open
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ZhitingHucommented, Jun 28, 2020

I’m curious why setup.py would be missing if you cloned the repo directly?

You may try copy the setup.py file to your directory.

0reactions
vishal-bhanawasecommented, Feb 23, 2022

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.py since 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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