kali python setup.py egg_info did not run successfully
时间: 2023-09-10 22:08:02 浏览: 80
It seems like there was an error while running the "egg_info" command during the setup of a Python package using "kali python setup.py". This command is used to generate metadata about the package and its dependencies, which is then used by tools like pip to install the package and its dependencies.
To fix this issue, you can try the following steps:
1. Make sure that you have the latest version of setuptools and pip installed on your system. You can do this by running the following commands:
```
sudo apt-get install python-setuptools
sudo easy_install pip
```
2. Navigate to the directory where the package is located and run the following command to install the package and its dependencies:
```
sudo python setup.py install
```
3. If the above steps do not work, you can try running the following command instead:
```
sudo pip install -e .
```
This will install the package and its dependencies in editable mode, which allows you to make changes to the source code of the package and have them immediately reflected in the installed package.
I hope this helps! Let me know if you have any other questions.
阅读全文