Skip to content

Installation bug in setup.py? #9

Open
@vicru

Description

@vicru

Hi,
executing !python setup.py install in the directory where I cloned your https://github.com/vicru/grasp returns

warning: install_lib: 'build\lib' does not exist -- no Python modules to install zip_safe flag not set; analyzing archive contents...

Even though the above-mentioned execution also returns:

running install
running bdist_egg
running egg_info
writing Grasp.egg-info\PKG-INFO
writing dependency_links to Grasp.egg-info\dependency_links.txt
writing requirements to Grasp.egg-info\requires.txt
writing top-level names to Grasp.egg-info\top_level.txt
reading manifest file 'Grasp.egg-info\SOURCES.txt'
writing manifest file 'Grasp.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\EGG-INFO
copying Grasp.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying Grasp.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Grasp.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Grasp.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Grasp.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
creating 'dist\Grasp-2.0-py3.8.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing Grasp-2.0-py3.8.egg
Removing c:\users\drcrac\anaconda3\lib\site-packages\Grasp-2.0-py3.8.egg
Copying Grasp-2.0-py3.8.egg to c:\users\drcrac\anaconda3\lib\site-packages
Grasp 2.0 is already the active version in easy-install.pth
Installed c:\users\drcrac\anaconda3\lib\site-packages\grasp-2.0-py3.8.egg
Processing dependencies for Grasp==2.0
Finished processing dependencies for Grasp==2.0

when I execute from grasp import download the following error shows up

ImportError: cannot import name 'download' from 'grasp' (C:\Users\drcrac\anaconda3\lib\site-packages\grasp_init_.py)

Which makes believe that I am doing something wrong with my installation method. I would highly appreciate some feedback in this respect. I couldn't find your library on pip, that is why I tried the above mentioned installation. By the way, my goal is to execute your Proof-of-concept https://gist.github.com/tom-de-smedt/9c9d9b9168ba703e0c336ee0128ebae5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions