Giter VIP home page Giter VIP logo

lanms's Issues

Error while installing from pip

When I do pip install lanms==1.0.2 in linux, I sometimes get the following error: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7.

What should I change? When I make it locally using make -C lanms it works. My requirement is to add it as a requirement/dependency instead of adding entire source in my repository.

使用pip安装lanms出错,啥原因?

(py36_pytorch101) C:\Users\zhang>pip install lanms
Collecting lanms
  Downloading https://files.pythonhosted.org/packages/96/c0/50dc2c857ed060e907adaef31184413a7706e475c322236d346382e45195/lanms-1.0.2.tar.gz (973kB)
     |████████████████████████████████| 983kB 11kB/s
    ERROR: Command errored out with exit status 1:
     command: 'D:\ProgramData\Anaconda3\envs\py36_pytorch101\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\zhang\\AppData\\Local\\Temp\\pip-install-qg7zgh3b\\lanms\\setup.py'"'"'; __file__='"'"'C:\\Users\\zhang\\AppData\\Local\\Temp\\pip-install-qg7zgh3b\\lanms\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\zhang\AppData\Local\Temp\pip-install-qg7zgh3b\lanms\pip-egg-info'
         cwd: C:\Users\zhang\AppData\Local\Temp\pip-install-qg7zgh3b\lanms\
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\zhang\AppData\Local\Temp\pip-install-qg7zgh3b\lanms\setup.py", line 27, in <module>
        if subprocess.call(['make', '--always-make','-C', BASE_DIR]) != 0:
      File "D:\ProgramData\Anaconda3\envs\py36_pytorch101\lib\subprocess.py", line 287, in call
        with Popen(*popenargs, **kwargs) as p:
      File "D:\ProgramData\Anaconda3\envs\py36_pytorch101\lib\subprocess.py", line 729, in __init__
        restore_signals, start_new_session)
      File "D:\ProgramData\Anaconda3\envs\py36_pytorch101\lib\subprocess.py", line 1017, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] 系统找不到指定的文件。
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

lanms on window

Hello,
I'm trying to install lanms on windows using:
pip install lanms

I got the following error:

ERROR: Command errored out with exit status 1:
command: 'C:\Users\jcace\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\jcace\AppData\Local\Temp\pip-install-zbq9phk1\lanms\setup.py'"'"'; file='"'"'C:\Users\jcace\AppData\Local\Temp\pip-install-zbq9phk1\lanms\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\jcace\AppData\Local\Temp\pip-pip-egg-info-n9cxwrgr'
cwd: C:\Users\jcace\AppData\Local\Temp\pip-install-zbq9phk1\lanms
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\jcace\AppData\Local\Temp\pip-install-zbq9phk1\lanms\setup.py", line 27, in
if subprocess.call(['make', '--always-make','-C', BASE_DIR]) != 0:
File "C:\Users\jcace\Anaconda3\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\jcace\Anaconda3\lib\subprocess.py", line 775, in init
restore_signals, start_new_session)
File "C:\Users\jcace\Anaconda3\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Any solutions?

Introduce continuous deployment

Hi @safijari,
I opened an issue to discuss the continuous deployment in a separate thread from the pull request #1 .

    If you're interested in incorporating this and having CI set up to build and publish the wheels automatically please comment here and I can move this PR forward with those changes.

That would be great! Can we maybe do that in a separate pull request?

Sure. I've had decent luck with AppVeyor (e.g. https://github.com/safijari/apriltags2_ethz/).

I'd need you to set up your pypi credentials as a secret in appveyor or whatever we end up using. Either that or I'd need to be a collaborator for the lanms package on PyPI.

I looked up what we did with the other Parquery projects. We had quite a few situations where multiple commits resulted in a single version bump (usually because we want to test something or wait a bit before releasing).

I could introduce a script release_to_pypi.py into the repository root that just builds and packages everything and sends it over to pypi. It's a single manual step, but this step should probably always remain manual anyhow.

Please let me know what you think.

macOS 10.15 Catalina couldn't use lanms installed by pip

Hello!

I have successfully installed lanms, but when I use it. The terminal gave me the message like this.

(base) ➜  lanms git:(master) ✗ python
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import lanms
[1]    65635 segmentation fault  python

I have try to compile the source code. Actually, the adaptor.so was successfully generated. But when I called the function of merge_quadrangle_n9, the program was exit. The message I got is Process finished with exit code 139 (interrupted by signal 11: SIGSEGV).

What should I do next?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.