pysigmoid icon indicating copy to clipboard operation
pysigmoid copied to clipboard

pip3 Install Failure due to directory that "does not exist"

Open IFcoltransG opened this issue 5 years ago • 3 comments

pip3 fails to install PySigmoid, citing the PySigmoid/Math directory not existing. Fails on Python 3.7.4, Debian GNU/Linux 9 (stretch) with pip 19.0.3, and on Python 3.6.8, Ubuntu 18.04.3 LTS with pip 9.0.1. Error similar for both. Below is the error taken from running pip3 install PySigmoid on repl.it (or more accurately import os; os.system("pip3 install PySigmoid") on a Python 3.7 REPL).

Collecting PySigmoid
  Downloading https://files.pythonhosted.org/packages/67/a6/2f2d896b9c5522598cd7d874d0d599e1ddf7307c51d60ef9f4c7d9e25c1c/PySigmoid-0.3.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/PySigmoid.egg-info
    writing pip-egg-info/PySigmoid.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/PySigmoid.egg-info/dependency_links.txt
    writing requirements to pip-egg-info/PySigmoid.egg-info/requires.txt
    writing top-level names to pip-egg-info/PySigmoid.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/PySigmoid.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/PySigmoid.egg-info/SOURCES.txt'
    writing manifest file 'pip-egg-info/PySigmoid.egg-info/SOURCES.txt'
    running egg_info
    creating pip-egg-info/PySigmoid.Math.egg-info
    writing pip-egg-info/PySigmoid.Math.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/PySigmoid.Math.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/PySigmoid.Math.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/PySigmoid.Math.egg-info/SOURCES.txt'
    error: package directory 'PySigmoid/Math' does not exist

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kd7tf1cd/PySigmoid/

IFcoltransG avatar Nov 06 '19 04:11 IFcoltransG

Hello, is there any solution for this problem?

rodrigolagartera avatar May 03 '21 12:05 rodrigolagartera

You should install PySigmoid Math separately. However, on my Ubuntu machine, after executing pip install PySigmoid (I got the errors mentioned by @IFcoltransG), I could execute the example from README in a Python interpreter without errors.

RaulMurillo avatar May 04 '21 09:05 RaulMurillo

I've tried installing separately PySigmoid and PySigmoid Math, and I got errors in both commands. I've also tried executing the README example in Jupyter and console, and I got ModuleNotFoundError: No module named 'PySigmoid'

rodrigolagartera avatar May 04 '21 18:05 rodrigolagartera