Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

Get the real python package names [duplicate]

How can I get Pypi package name with the name uses in import? for example: import allauth But its name in Pypi is django-allauth and this name must be used to install with pip. I don't want to use ...
ArianNa's user avatar
  • 61
0 votes
1 answer
42 views

Uninstall package with non-python files that weren't in distribution

I have a python app that has been deposited on pypi as described here. The app runs an external software (blast+) and generates non-python files (various database and txt files, and an xml file that ...
Tim Kirkwood's user avatar
2 votes
1 answer
2k views

Twine/PyPI - Invalid distribution file

I am trying to upload my package (SyntenyQC) to test pypi as described here via Anaconda prompt. I have installed twine and build as described in the link, and got a dist folder with a wheel and gz ...
Tim Kirkwood's user avatar
0 votes
0 answers
336 views

How to create a wheel file from an already installed Python package not available on PyPI?

I have a Python package with a specific version installed in my virtual environment, but it has been removed from PyPI and I don't have access to its source code. I'm trying to create a wheel file ...
WissemBT's user avatar
0 votes
0 answers
172 views

Why, when installing my own PyPi package, I get the error: ModuleNotFoundError: No module named...?

When trying to use my own package, that I have uploaded to PyPi, I seem to always get this ModuleNotFoundError when trying to use it. This is my package structure: Package structure Here is my setup....
Miguel García's user avatar
-1 votes
1 answer
585 views

Adding Version from Release tags to build using github actions

Guys I am trying to release my package but every time its failing at the build stage as it is trying to reference 0.1.0 which I had released for testing and deleted them. In the setup.py, I have ...
Archan Ghosh's user avatar
0 votes
1 answer
140 views

Determining When a Package First Appeared in the PyPI Index using BigQuery?

I'm working on a project where I need to find out the initial release date of a package on the PyPI index. I came across the bigquery-public-data.pypi.distribution_metadata public dataset on BigQuery. ...
Exploring's user avatar
  • 3,569
1 vote
0 answers
70 views

Is there an easy way to build a PyPi package that uses deprecated Numpy API in C?

I'm trying to build K-Means 2, and have been trying to run the below setup.py file using python setup.py install, pip install kmc2, and pip install . from the source package. I have Numpy version 1.2X ...
nini2352's user avatar
0 votes
1 answer
179 views

`email.errors.InvalidHeaderDefect: addr-spec local part with no domain` error when building python package

I have a python package here and the publishing workflow errors when building the package. The error is suggesting the email field in the pyproject.toml file is not formatted properly, but it is ...
The Empty String Photographer's user avatar
0 votes
3 answers
3k views

Installing pypi packages on termux using pip is not working

while installing pyrogram or telethon on termux using pip I facing error. I'll provide error below. ~ $ pip install telethon Collecting telethon Downloading ...
Alisher Xurramov's user avatar
0 votes
1 answer
500 views

How to completely remove a package from PyPI or TestPyPI?

I could remove all releases of my package example_package_superkai but could not remove the package itself from PyPI or TestPyPI as shown below: Or: Actually, How to remove a package from Pypi doesn'...
Super Kai - Kazuya Ito's user avatar
1 vote
1 answer
91 views

Is there a way to make Python import from a specific folder depending on the OS and the Python version in a module?

I am building an image processing module in Python where I use some Fortran90 compiled files to make the iterative methods faster, but these files depend strictly on the Python version. Right now, I ...
olawenah's user avatar
1 vote
1 answer
1k views

For a Closed-source Python Library, do you need a setup.py file or is that just for PyPi publication? This package will only be used amongst my team

I am creating an internally used Python library for my company. I have included a README on the src level. Then have project and tests folders additionally stemming from the src. When we are not ...
antv2291's user avatar
-1 votes
1 answer
111 views

How to properly build package to use a function without module name when importing the module?

I have been experimenting with packaging, testing it on test.pypi. My structure is as follows: package_name/ |--- LICENSE |--- pyproject.toml |--- README.md |--- tests/ |--- dist/ |--- src/ |--- ...
iurysp's user avatar
  • 1
1 vote
1 answer
1k views

Building python package doesn't find requirements.txt

Its the first time that I have to use the content of an old git repository in the one that I'm actually working. I decided to try to create a Python Package of it to import in the new as a library (I ...
a.civit's user avatar
  • 56

15 30 50 per page
1
2 3 4 5
10