easy-install

pip is not installing my data_files. But easy_install does

余生长醉 提交于 2021-02-20 19:16:20
问题 This is going to be a short question. The source is here: https://github.com/exhuma/grc And the title explains my problem ;) I registered and uploaded the package to pypi . Now if I run easy_install grc , it works as expected. But if I run pip install grc , it installs properly, but does not install the data_files. I don't see why this is happening. Any ideas? 回答1: Maybe the files aren't installed in the path you expect. In Ubuntu 11.10, I see them under /usr/local/configs as it can be seen

python-docx cannot be imported to python

泄露秘密 提交于 2021-02-10 19:41:57
问题 I'm trying to install python-docx so I typed in the cmd easy_install python-docx and got: Searching for python-docx Best match: python-docx 0.7.4 Processing python_docx-0.7.4-py2.6.egg python-docx 0.7.4 is already the active version in easy-install.pth Using c:\python26\lib\site-packages\python_docx-0.7.4-py2.6.egg Processing dependencies for python-docx Finished processing dependencies for python-docx but when I open python and type: import docx I got: File "c:\python26\lib\site-packages

how to install python module without pip after we download the module to local folder

耗尽温柔 提交于 2021-01-29 12:56:15
问题 we can download the module - requests , as the following cd /home/module/ pip download requests ls -l certifi-2019.9.11-py2.py3-none-any.whl chardet-3.0.4-py2.py3-none-any.whl idna-2.8-py2.py3-none-any.whl requests-2.22.0-py2.py3-none-any.whl urllib3-1.25.6-py2.py3-none-any.whl now we can easily to install the module as pip install *.whl we can check it by python -c "import requests" now - since on some Linux redhat machines we not have pip ( we cant install pip because security reasons ) so

Equivalent for `--find-links` in `setup.py`

旧巷老猫 提交于 2020-04-02 09:02:12
问题 What is the equivalent of --find-links / -f flag for pip in setup.py . I know dependency_links exist, but that requires pointing to a specific file, I want something similar to -f that can point to a list of links from which the package can be selected based on version&os. 回答1: In a setuptools context the dependency_links option should do what you need. According to setuptools documentation, this option accepts: the URLs of web pages that contain direct download links for example: setuptools

Equivalent for `--find-links` in `setup.py`

泪湿孤枕 提交于 2020-04-02 09:01:52
问题 What is the equivalent of --find-links / -f flag for pip in setup.py . I know dependency_links exist, but that requires pointing to a specific file, I want something similar to -f that can point to a list of links from which the package can be selected based on version&os. 回答1: In a setuptools context the dependency_links option should do what you need. According to setuptools documentation, this option accepts: the URLs of web pages that contain direct download links for example: setuptools

Equivalent for `--find-links` in `setup.py`

霸气de小男生 提交于 2020-04-02 09:00:14
问题 What is the equivalent of --find-links / -f flag for pip in setup.py . I know dependency_links exist, but that requires pointing to a specific file, I want something similar to -f that can point to a list of links from which the package can be selected based on version&os. 回答1: In a setuptools context the dependency_links option should do what you need. According to setuptools documentation, this option accepts: the URLs of web pages that contain direct download links for example: setuptools

Equivalent for `--find-links` in `setup.py`

我与影子孤独终老i 提交于 2020-03-05 03:22:23
问题 What is the equivalent of --find-links / -f flag for pip in setup.py . I know dependency_links exist, but that requires pointing to a specific file, I want something similar to -f that can point to a list of links from which the package can be selected based on version&os. 回答1: In a setuptools context the dependency_links option should do what you need. According to setuptools documentation, this option accepts: the URLs of web pages that contain direct download links for example: setuptools

setuptools, easy_install, and a custom pypi server

落花浮王杯 提交于 2020-02-27 05:27:05
问题 I've got a custom pypi server running and am wondering how to point all references to https://pypi.python.org/ from there to my custom server? I want to be able to cover cases of a user calling pip / easy_install of a package (so they don't have to remember to do -i or -f ) as well as someone doing python setup.py install using setuptools with install_requires in the setup.py . Is there some global config or setting I can do to get all these different methods to look at my local server? I