Python Forum
when package built, requirements not installed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
when package built, requirements not installed
#1
Hello,

I'm new to packaging, but using setup.py file. I have included this line [1] in setup.py, built the package using command [2], uploaded to test pypi database using this [3] then installed the package using pip command, but when executing the script, it still says no module "netifaces" found (and no others).

Any direction where to troubleshoot this would be awsome!

thanks in advance.

[1]
install_requires=["graphviz", "netifaces", "numpy", "tabulate","pygraphviz"],

[2]
python3 -m build

[3]
python3 -m twine upload --repository testpypi dist/*
Reply
#2
can be closed. Problem was I had requirements there but in test pypi website some requirementes were failiing to be found and eventually older version was installed which did not have requirements. So I'm using this [1] command which installs all the requirements.


[1]
pip install -i https://test.pypi.org/simple/ <app name> --extra-index-url https://pypi.org/simple poirot
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MPEG DASH Package implementation similar to M3U8 package anantha_narayanan 1 2,105 May-05-2025, 08:34 AM
Last Post: pintailscratchy
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 2,115 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  What to do when the requirements.txt file does not work Led_Zeppelin 2 27,409 Nov-04-2021, 06:51 PM
Last Post: snippsat
  Examples of Customer requirements ComputerAstronaut 1 2,794 Dec-08-2020, 03:22 AM
Last Post: Larz60+
  requirements file tdwinfre 7 5,223 Nov-06-2020, 06:01 AM
Last Post: tdwinfre
  How to allow user input only if certain requirements are met vininhosts 3 3,929 May-28-2020, 06:15 PM
Last Post: micseydel
  pip list to show all versions of a package installed pvbadiger05b 4 5,014 May-21-2020, 06:48 PM
Last Post: jameshonest
  Package installed through Anaconda "not found" by Python zonova 0 3,791 May-08-2020, 11:50 PM
Last Post: zonova
  Requirements for html5print module KipCarter 6 7,936 Mar-16-2020, 03:12 PM
Last Post: KipCarter
  Installed Python3.7 from package, trying to run pip3.7 does not work JBristow1729 4 9,564 Aug-11-2019, 08:24 AM
Last Post: michaellossagk

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020