so the problem is that pypi.org hase been filtered by iranian government(yes , i know it’s ridiculous!). i tried to install some python modules from Github downloaded files: pip install moduleName but every module has it’s own dependencies and try to connect to pipy.org to reach them. then there will be an error during installation. is there any solution? your
Tag: pypi
PyPi cannot find distribution for package “winrt”, when it is clearly available
I’ve been trying to install the package winrt using pip, but whenever I try to I receive this error: (view image below) even though it clearly exists (https://pypi.org/project/winrt/). How do I solve this? I’ve tried using python -m pip install winrt even though that’s the same thing, I’ve also updated pip to 22.1.1. Anything else I can try? Thanks EDIT:
pip ignores python_requires field in setup
I have the following in my setup.cfg file: Problem is that I created an enviroment with Python 3.7 and installation had no problems. Installation command: Shouldn’t pip require a Python 3.8 enviroment? Here is the test.PyPI link: PyPI project, and here the repo: GitHub repo I know that the setup.cfg file is working because pip install packages in install_requires field
Numpy install requirement on package fails on pip install from PyPI but not from .whl
I recently build my first python package and tried to test distribution with test.pypi.org (Github repo Test PyPI) Code for building the dist: Code for uploading to Test PyPI: Then I created and empty conda env to test the installation with: In this enviroment I used succesfully pip install with wheel file: But if I try to install it from
How to restrict PyPi project search by adding search terms?
When I enter multiple words into PyPi project search, I would expect to get results matching all of the search terms, like in Google Search. But instead, it seems to return results matching any of the search terms. For example, a search for lemmatize gives 230 results; a search for german gives 1526 results; but when I enter both lemmatize
How to call direct imports of libraries in the creation of a Python package
Background I’m trying to create a Python package with a semi-complicated structure. I have published a few packages before, and because they were simple, I put all the classes and functions necessary in __init__.py itself. For example, the file structure of one of my simple packages would be: A sample __init__.py file from a sample package would be: As a
Import homemade package without duplicating name
I’ve built a package which I distributed through PyPI. The upload, download, installation, and the package itself, all work fine. My problem is that in order to run it I need to call the package name twice, which I want to avoid. I want it to go like this: But it only works like this: Rather than having package_name be
Remove parent directories in python build source archive
I have the following setup for my python package: The __init__.py is empty, the pyproject.toml and the setup.cfg contain example output from the PyPi documentation page (content shown below). Now, for uploading to PyPi and for packing the python project, I run the command This gives me a new directory dist (in my_package) containing a Test-0.0.0.tar.gz. All this is expected.
how to make a package(pypi) for pyqt5 app on windows?
I wrote an application with pyqt5 and packaged it using python setup.py sdist to make it available on PyPi the app runs well on Linux distributions but there is a problem with windows when i run it ,it does open a console then the actual app shows up is there any way to fix it ? setup.py Answer Instead of
Read Excel file that is located outside the folder containing the module into Pandas DataFrame
I want to read an excel file into pandas DataFrame. The module from which I want to read the file is inputs.py and the excel file (schoolsData.xlsx) that I want to read is outside the folder containing the module. I’m doing it like this in my code Error: No such file or directory: ‘../schoolsData.xlsx’ The strange thing is that it