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
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 677 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  What to do when the requirements.txt file does not work Led_Zeppelin 2 6,575 Nov-04-2021, 06:51 PM
Last Post: snippsat
  Examples of Customer requirements ComputerAstronaut 1 1,876 Dec-08-2020, 03:22 AM
Last Post: Larz60+
  requirements file tdwinfre 7 2,832 Nov-06-2020, 06:01 AM
Last Post: tdwinfre
  How to allow user input only if certain requirements are met vininhosts 3 2,393 May-28-2020, 06:15 PM
Last Post: micseydel
  pip list to show all versions of a package installed pvbadiger05b 4 2,554 May-21-2020, 06:48 PM
Last Post: jameshonest
  Package installed through Anaconda "not found" by Python zonova 0 2,333 May-08-2020, 11:50 PM
Last Post: zonova
  Requirements for html5print module KipCarter 6 5,254 Mar-16-2020, 03:12 PM
Last Post: KipCarter
  Installed Python3.7 from package, trying to run pip3.7 does not work JBristow1729 4 7,588 Aug-11-2019, 08:24 AM
Last Post: michaellossagk
  IndentationError on installed package evvvonder 3 3,069 Jun-29-2019, 10:30 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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