GithubHelp home page GithubHelp logo

cannot use imap about imap HOT 5 CLOSED

daohu527 avatar daohu527 commented on August 20, 2024
cannot use imap

from imap.

Comments (5)

dajiba6 avatar dajiba6 commented on August 20, 2024

Maybe this is the reason

WARNING: The script pyproj is installed in '/home/cyn/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
DEPRECATION: lzf is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for lzf ... done
WARNING: The script imap is installed in '/home/cyn/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

from imap.

dajiba6 avatar dajiba6 commented on August 20, 2024

after adding the path, it still doesn't work

Traceback (most recent call last):
File "/home/cyn/.local/bin/imap", line 5, in
from imap.main import main
File "/home/cyn/.local/lib/python3.8/site-packages/imap/main.py", line 26, in
from imap.lib.draw import add_editor, show_map
File "/home/cyn/.local/lib/python3.8/site-packages/imap/lib/draw.py", line 21, in
from imap.map import Map
File "/home/cyn/.local/lib/python3.8/site-packages/imap/map.py", line 20, in
from modules.map.proto import map_pb2
File "/home/cyn/.local/lib/python3.8/site-packages/modules/map/proto/map_pb2.py", line 14, in
from modules.map.proto import map_clear_area_pb2 as modules_dot_map_dot_proto_dot_map__clear__area__pb2
File "/home/cyn/.local/lib/python3.8/site-packages/modules/map/proto/map_clear_area_pb2.py", line 14, in
from modules.map.proto import map_id_pb2 as modules_dot_map_dot_proto_dot_map__id__pb2
File "/home/cyn/.local/lib/python3.8/site-packages/modules/map/proto/map_id_pb2.py", line 21, in
create_key=_descriptor._internal_create_key,
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'

from imap.

dajiba6 avatar dajiba6 commented on August 20, 2024

seems this is because the version of my protobuf is too high. The version it requires is lower than 3.19.4

from imap.

daohu527 avatar daohu527 commented on August 20, 2024

You can use below cmd to install, we limit the protobuf version under 3.19.4

pip3 install imap_box

from imap.

dajiba6 avatar dajiba6 commented on August 20, 2024

thank you my friend. I love you.

from imap.

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.