texar
texar copied to clipboard
ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
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 : )
The above cmds work for me. Can you double-check if setup.py
is there?
if the setup.py is missing. how to set up a required seyup.py? TX
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.
Thanks for your answer. I have double checked the uploaded files in your page. And do not find the setup.py. Now, I use “anaconda +pycharm” to run the python on my MacBook. Could you send me one packaged set of file by email? I plan to do the AcyclicLp analysis of one complex network.
Many thank!
Ling
| | 张灵 | | 邮箱:[email protected] |
签名由 网易邮箱大师 定制
On 06/29/2020 07:04, Zhiting Hu wrote:
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.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Clone the repo with git clone https://github.com/asyml/texar.git
and you'll get setup.py
under texar/
Many thanks for your kind help!
Ling
| | 张灵 | | 邮箱:[email protected] |
签名由 网易邮箱大师 定制
On 06/29/2020 11:21, Zhiting Hu wrote:
Clone the repo with git clone https://github.com/asyml/texar.git and you'll get setup.py under texar/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I had same problem and used this https://stackoverflow.com/a/67883441/13181871
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.