Code Monkey home page Code Monkey logo

Comments (12)

iraadit avatar iraadit commented on August 18, 2024 2

As said by @yhzyhzyhz, it works when installing cython 0.20 then rebuilding and installing pyvision

sudo pip install cython==0.20
cd pyvision
sudo python setup.py build
sudo python setup.py install

from vatic.

psychosane avatar psychosane commented on August 18, 2024

I am facing the exact same issue. Anyone has an idea?

from vatic.

yhzyhzyhz avatar yhzyhzyhz commented on August 18, 2024

I am also facing the same issue. and I tried to install pyvision using :

$python setup.py build
$sudo python setup.py install

nothing happend, and I tried to run python in the pyvision folder, when import vision, it has the same problem of no module named annotations.

from vatic.

yhzyhzyhz avatar yhzyhzyhz commented on August 18, 2024

I tried this

#16

after using cython 0.20 it seems working and installed pyvision successfuly.

from vatic.

hkrds1996 avatar hkrds1996 commented on August 18, 2024

@iraadit I installed vision successful!

Installed /usr/local/lib/python2.7/dist-packages/pyvision-0.3.1-py2.7-linux-x86_64.egg
Processing dependencies for pyvision==0.3.1
Finished processing dependencies for pyvision==0.3.1

But it's still worry.

import vision
Traceback (most recent call last):
File "", line 1, in
File "vision/init.py", line 1, in
from annotations import *
ImportError: No module named annotations

Do you know other ways?

from vatic.

mjcorriere avatar mjcorriere commented on August 18, 2024

I am having the same issue trying to install Vatic. No module named vision

from vatic.

BhargavaRamM avatar BhargavaRamM commented on August 18, 2024

@Hukangrong were you able to solve the issue you had with ImportError: No module named annotations? I have the same issue and I see the problem is due to missing annotations.py file.

from vatic.

hkrds1996 avatar hkrds1996 commented on August 18, 2024

@BhargavaRamM do you know what you need to use in your project? In my project, I skip this problem by compiling "features.pyx" and importing features model in my project. So I don't fix this problem.

from vatic.

BhargavaRamM avatar BhargavaRamM commented on August 18, 2024

@Hukangrong I did the same thing you did. I compiled annotations.pyx file to create annotations.so. This resolved the ImportError. Thanks.

from vatic.

evgenykam avatar evgenykam commented on August 18, 2024

@Hukangrong I am having the same issue trying to install Vatic. How do you compiled annotation.pyx? Can you share your commands? Thanks

from vatic.

AloshkaD avatar AloshkaD commented on August 18, 2024

Same thing here, ImportError: No module named vision.

from vatic.

hkrds1996 avatar hkrds1996 commented on August 18, 2024

@evgenykam Sorry for too late to response. I give you the example of compiling features model.
cython -a features.pyx
gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing \ -I/usr/include/python2.7 -o features.so features.c

from vatic.

Related Issues (20)

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.