{"action":"created","issue":{"url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/173","repository_url":"https://api.github.com/repos/3dmol/3Dmol.js","labels_url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/173/comments","events_url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/173/events","html_url":"https://github.com/3dmol/3Dmol.js/issues/173","id":154051031,"number":173,"title":"py3Dmol install doesn't actually install anything","user":{"login":"greglandrum","id":540511,"avatar_url":"https://avatars.githubusercontent.com/u/540511?v=3","gravatar_id":"","url":"https://api.github.com/users/greglandrum","html_url":"https://github.com/greglandrum","followers_url":"https://api.github.com/users/greglandrum/followers","following_url":"https://api.github.com/users/greglandrum/following{/other_user}","gists_url":"https://api.github.com/users/greglandrum/gists{/gist_id}","starred_url":"https://api.github.com/users/greglandrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglandrum/subscriptions","organizations_url":"https://api.github.com/users/greglandrum/orgs","repos_url":"https://api.github.com/users/greglandrum/repos","events_url":"https://api.github.com/users/greglandrum/events{/privacy}","received_events_url":"https://api.github.com/users/greglandrum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T16:33:01Z","updated_at":"2016-05-10T16:54:21Z","closed_at":null,"body":"For what it's worth, I'm using anaconda and python 3.5. My use of anaconda means that I've completely lost track of how stuff is supposed to work with pip, so I could very easily be doing something stupid.\r\n\r\nHere's the initial attempt:\r\n```\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ python setup.py install\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\ncreating py3Dmol.egg-info\r\nwriting dependency_links to py3Dmol.egg-info/dependency_links.txt\r\nwriting top-level names to py3Dmol.egg-info/top_level.txt\r\nwriting requirements to py3Dmol.egg-info/requires.txt\r\nwriting py3Dmol.egg-info/PKG-INFO\r\nwriting manifest file 'py3Dmol.egg-info/SOURCES.txt'\r\nreading manifest file 'py3Dmol.egg-info/SOURCES.txt'\r\nwriting manifest file 'py3Dmol.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.linux-x86_64/egg\r\nrunning install_lib\r\nwarning: install_lib: 'build/lib' does not exist -- no Python modules to install\r\n\r\ncreating build\r\ncreating build/bdist.linux-x86_64\r\ncreating build/bdist.linux-x86_64/egg\r\ncreating build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying py3Dmol.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying py3Dmol.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying py3Dmol.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying py3Dmol.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying py3Dmol.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\nzip_safe flag not set; analyzing archive contents...\r\ncreating dist\r\ncreating 'dist/py3Dmol-0.5.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it\r\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)\r\nProcessing py3Dmol-0.5.1-py3.5.egg\r\nCopying py3Dmol-0.5.1-py3.5.egg to /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages\r\nAdding py3Dmol 0.5.1 to easy-install.pth file\r\n\r\nInstalled /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages/py3Dmol-0.5.1-py3.5.egg\r\nProcessing dependencies for py3Dmol==0.5.1\r\nSearching for idisplay\r\nReading https://pypi.python.org/simple/idisplay/\r\nBest match: idisplay 0.1.2\r\nDownloading https://pypi.python.org/packages/d3/fe/38acbdb022603fe98b066c5aaec353343a32c2a669100daa6542d3171f5e/idisplay-0.1.2.tar.gz#md5=981dca5d6887321d2acaec5fc2502eff\r\nProcessing idisplay-0.1.2.tar.gz\r\nWriting /tmp/easy_install-893i8ktp/idisplay-0.1.2/setup.cfg\r\nRunning idisplay-0.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-893i8ktp/idisplay-0.1.2/egg-dist-tmp-8drgl_no\r\nzip_safe flag not set; analyzing archive contents...\r\nMoving idisplay-0.1.2-py3.5.egg to /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages\r\nAdding idisplay 0.1.2 to easy-install.pth file\r\n\r\nInstalled /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages/idisplay-0.1.2-py3.5.egg\r\nSearching for jupyter==1.0.0\r\nBest match: jupyter 1.0.0\r\nAdding jupyter 1.0.0 to easy-install.pth file\r\n\r\nUsing /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages\r\nSearching for ipython==4.2.0\r\nBest match: ipython 4.2.0\r\nAdding ipython 4.2.0 to easy-install.pth file\r\n\r\nUsing /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages\r\nFinished processing dependencies for py3Dmol==0.5.1\r\n\r\n\r\n\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ ls -l /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages/py3D*\r\n-rw-rw-r-- 1 glandrum glandrum 1795 Mai 10 18:16 /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages/py3Dmol-0.5.1-py3.5.egg\r\n\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ pushd /tmp\r\n/tmp ~/Code/3Dmol.js/py3Dmol ~/Code/3Dmol.js/py3Dmol /scratch/RDKit_git/Code/Profiling/GraphMol\r\n(py3dmol)glandrum@Otter:/tmp$ python -c 'import py3Dmol'\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nImportError: No module named 'py3Dmol'\r\n```\r\n\r\nOk, that failed. From looking around a bit, it seems like there may be a more modern way of doing this:\r\n\r\n```\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ python setup.py bdist_wheel\r\nrunning bdist_wheel\r\nrunning build\r\ninstalling to build/bdist.linux-x86_64/wheel\r\nrunning install\r\nrunning install_egg_info\r\nrunning egg_info\r\nwriting py3Dmol.egg-info/PKG-INFO\r\nwriting top-level names to py3Dmol.egg-info/top_level.txt\r\nwriting requirements to py3Dmol.egg-info/requires.txt\r\nwriting dependency_links to py3Dmol.egg-info/dependency_links.txt\r\nreading manifest file 'py3Dmol.egg-info/SOURCES.txt'\r\nwriting manifest file 'py3Dmol.egg-info/SOURCES.txt'\r\nCopying py3Dmol.egg-info to build/bdist.linux-x86_64/wheel/py3Dmol-0.5.1-py3.5.egg-info\r\nrunning install_scripts\r\ncreating build/bdist.linux-x86_64/wheel/py3Dmol-0.5.1.dist-info/WHEEL\r\n\r\n\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ pip install --no-index --find-links=./dist py3Dmol\r\nIgnoring indexes: https://pypi.python.org/simple\r\nCollecting py3Dmol\r\nRequirement already satisfied (use --upgrade to upgrade): idisplay in /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages/idisplay-0.1.2-py3.5.egg (from py3Dmol)\r\nRequirement already satisfied (use --upgrade to upgrade): jupyter in /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages (from py3Dmol)\r\nRequirement already satisfied (use --upgrade to upgrade): ipython>=1.0 in /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages (from idisplay->py3Dmol)\r\nInstalling collected packages: py3Dmol\r\nSuccessfully installed py3Dmol-0.5.1\r\n\r\n\r\n(py3dmol)glandrum@Otter:/tmp$ python -c 'import py3Dmol'\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nImportError: No module named 'py3Dmol'\r\n\r\n(py3dmol)glandrum@Otter:/tmp$ ls -l /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages | grep py3D\r\ndrwxrwxr-x  2 glandrum glandrum    4096 Mai 10 18:27 py3Dmol-0.5.1.dist-info\r\n\r\n```\r\n\r\nTo make it work, I needed to manually copy in the py3Dmol directory:\r\n```\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ cp -r py3Dmol /home/glandrum/anaconda3/envs/py3dmol/lib/python3.5/site-packages\r\n(py3dmol)glandrum@Otter:~/Code/3Dmol.js/py3Dmol$ pushd\r\n/tmp ~/Code/3Dmol.js/py3Dmol ~/Code/3Dmol.js/py3Dmol /scratch/RDKit_git/Code/Profiling/GraphMol\r\n(py3dmol)glandrum@Otter:/tmp$ python -c 'import py3Dmol'\r\n(py3dmol)glandrum@Otter:/tmp$ \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/comments/218220886","html_url":"https://github.com/3dmol/3Dmol.js/issues/173#issuecomment-218220886","issue_url":"https://api.github.com/repos/3dmol/3Dmol.js/issues/173","id":218220886,"user":{"login":"dkoes","id":2342142,"avatar_url":"https://avatars.githubusercontent.com/u/2342142?v=3","gravatar_id":"","url":"https://api.github.com/users/dkoes","html_url":"https://github.com/dkoes","followers_url":"https://api.github.com/users/dkoes/followers","following_url":"https://api.github.com/users/dkoes/following{/other_user}","gists_url":"https://api.github.com/users/dkoes/gists{/gist_id}","starred_url":"https://api.github.com/users/dkoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkoes/subscriptions","organizations_url":"https://api.github.com/users/dkoes/orgs","repos_url":"https://api.github.com/users/dkoes/repos","events_url":"https://api.github.com/users/dkoes/events{/privacy}","received_events_url":"https://api.github.com/users/dkoes/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T16:54:21Z","updated_at":"2016-05-10T16:54:21Z","body":"What if you do\r\n`sudo pip3 install py3Dmol`\r\nsince you're using Python3?"}}