Error Package Directory Does Not Exist Python
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies warning: manifest_maker: standard file 'setup.py' not found of this site About Us Learn more about Stack Overflow the company setup.py packages Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users setup.py example Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a
Setup Python
minute: Sign up What option do I need in setup.py to create the package in the right directory? up vote 3 down vote favorite 1 I am using setup.py to create a python package, which I want to install via pip. To correctly install the files under lib/python2.7/site-packages/
Sign in Pricing Blog Support Search GitHub This repository Watch 40 Star 135 Fork 207 bitcraze/crazyflie-clients-python Code Issues 46 Pull requests 2 Projects 0 install python module Pulse Graphs New issue Wrong directory name in setup.py #158 Open tompe17
Python Packaging
opened this Issue Feb 27, 2015 · 4 comments Projects None yet Labels bug Milestone No
Python Setup.py Install
milestone Assignees No one assigned 5 participants tompe17 commented Feb 27, 2015 In setup.py cfclient.utils.inputdevices should probably be something else. At least what happened for me was that the http://stackoverflow.com/questions/15839520/what-option-do-i-need-in-setup-py-to-create-the-package-in-the-right-directory install failed and I had to change this to: cfclient.utils.inputreaders But it does not fail on all my computers which is strange. mechAndy commented Mar 23, 2015 I found the same issue that you did. To work around it I had to add a little more. I had to add fclient.utils.inputreaders and cfclient.utils.mux along with cfclient.utils.inputreaders qubitter commented Apr 11, https://github.com/bitcraze/crazyflie-clients-python/issues/158 2015 I have the issue too: When installing using setup.py I got this error: python setup.py install fatal: Not a git repository (or any of the parent directories): .git Warning: Version file cannot be written. running install running build running build_py error: package directory 'lib/cfclient/utils/inputdevices' does not exist I went into setup.py and changed that, but then when I ran setup.py it went through setup. I then opened IDLE to test. I got this error: Traceback (most recent call last): File "", line 1, in from cflib import crtp File "/Users/me/Documents/cflib.py", line 1, in from cflib import crtp ImportError: cannot import name 'crtp' What am I doing wrong? Please help!! rs1990 commented Jul 2, 2015 Any luck solving this ? I tried qubitter's way but it failed again. maverick@maverick:~/indigo_ws/src/crazyflie-clients-python$ sudo ./setup.sh groupadd: group 'plugdev' already exists running install running build running build_py copying lib/cfclient/version.py -> build/lib.linux-i686-2.7/cfclient error: package directory 'lib/cfclient/utils/inputdevices' does not exist mechAndy commented Jul 2, 2015 I had to slightly modify my initial parameters in setup.py Lines 59-63: packages=['cfclient', 'cfclient.ui', 'cfclient.ui.tabs', 'cfclient.ui.toolboxes', 'cfclient.ui.widgets', 'cfclient.utils', 'cfclient.ui.dialogs', 'cflib
Sign in Pricing Blog Support Search GitHub This repository Watch 18 Star 19 Fork 14 klusta-team/klustaviewa Code Issues 40 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue error: https://github.com/klusta-team/klustaviewa/issues/52 package directory 'qtools' does not exist #52 Closed cxrodgers opened this Issue Apr 24, https://github.com/SciTools/cartopy/issues/516 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants cxrodgers commented Apr 24, 2015 Hello, I am trying to install klustaviewa on Linux Mint. I tried cloning the current version of the github repository, and also downloading the stable 0.3.0 error package source tarball. I always get: "error: package directory 'qtools' does not exist" This occurs whether I run "pip install --user ." or "python setup.py build" in the source directory. I think the "qtools" you have in mind is probably this one, but could you verify this to be true? I don't see it listed as a requirement. https://github.com/rossant/qtools I've installed the current github version of it, error package directory but for some reason the setup.py in klustaviewa is having trouble finding it. But I know that it is there because python and ipython find it no problem. In [1]: import qtools In [2]: qtools.file Out[2]: '/home/chris/.local/lib/python2.7/site-packages/qtools/init.pyc' It did not help to add /home/chris/.local/lib/python2.7/site-packages to either my $PATH or my $PYTHONPATH. Typically pip has no trouble finding requirements there anyway, though. Thanks for any tips!! Klusta-Team member nippoo commented Apr 24, 2015 Yes, that's the one. If you're downloading from source, you should either install all the packages separately, but better to keep up-to-date, you should symlink: https://github.com/rossant/qtools: qtools/qtools/ (note the subdir) into klustaviewa/qtools https://github.com/rossant/galry: galry/galry (note the subdir) into klustaviewa/galry https://github.com/klusta-team/spikedetekt2: spikedetekt2/spikedetekt2 (note the subdir) into klustaviewa/spikedetekt2 https://github.com/klusta-team/kwiklib: kwiklib/kwiklib (note the subdir) into klustaviewa/kwiklib Then you can python setup.py install or python setup.py develop depending whether you want to be able to update the version you're running by pulling the repository or not... cxrodgers commented Apr 24, 2015 Thanks! This fixed it. I think you are missing a subdir on spikedetekt2 in your response. I had to make it spikedetekt2/spikedetekt2 to get it to work. Klusta-Team member nippoo commented Apr 27, 2015 Thanks for the heads-up! cxrodger
Sign in Pricing Blog Support Search GitHub This repository Watch 34 Star 206 Fork 93 SciTools/cartopy Code Issues 105 Pull requests 20 Projects 0 Wiki Pulse Graphs New issue Install from source got "package directory 'lib\cartopy\crs' does not exist" error #516 Closed gepcel opened this Issue Nov 23, 2014 · 18 comments Projects None yet Labels None yet Milestone v0.12.0 Assignees No one assigned 5 participants gepcel commented Nov 23, 2014 Recently I switched to a python3.4 env in windows 7 x64, and installed necessary packages one by one manually without using solutions like python(x,y), or EPD, or anaconda, etc. I've installed cartopy 0.11 from a binary installer from gohlke's "Unofficial Windows Binaries for Python Extension Packages" website, which is very useful. And cartopy works(tested by running some cartopy scripts I wrote). So I assume the dependency already satisfied. But installing from the source code downloaded from github using python setup.py install shows an error: "package directory 'lib\cartopy\crs' does not exist" D:\Softwares\Python\cartopy-master>python setup.py build running build running build_py error: package directory 'lib\cartopy\crs' does not exist Am I missing or misunderstanding something? SciTools member pelson commented Nov 24, 2014 Agreed. There are some hard-coded linux assumptions in the setup.py which I assume Christoph Gohlke circumvents. I've got a branch with the necessary fix (fairly small) and can put it up later today. SciTools member pelson commented Nov 24, 2014 Recently I switched to a python3.4 env in windows 7 x64, and installed necessary packages one by one manually without using solutions like python(x,y), or EPD, or anaconda, etc. Any reason for avoiding conda? There is a repo (https://github.com/SciTools/conda-recipes-scitools) where many of the necessary dependencies are built fr