Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation bug in setup.py? #9

Open
vicru opened this issue Aug 30, 2021 · 0 comments
Open

Installation bug in setup.py? #9

vicru opened this issue Aug 30, 2021 · 0 comments

Comments

@vicru
Copy link

vicru commented Aug 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant