Giter VIP home page Giter VIP logo

Comments (12)

corizzi avatar corizzi commented on July 26, 2024 1

It actually comes from libhypstar and its libboost dependence (compiled for python3.8). Happily, the new version of libhypstar won't use it (see https://github.com/HYPERNETS/libhypstar). So, I'll create a dedicated branch asap. In the meantime, you could try to re-run the 02_install_boost.sh script.

from hypernets_tools.

corizzi avatar corizzi commented on July 26, 2024 1

Did you used :
pip uninstall serial
pip install pyserial ?

Also, other packages will probably be lacking :
./01_dependencies.sh should fix it for now.

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024 1

It seems python commands binds to python3.8, but to be sure I ran ln -sf /usr/bin/python3.8 /usr/bin/python3, but still it couldn't find serial

Python 3.8.5

I ran pip uninstall serial and pip install pyserial again, afterward, hypernets.gui works again! I didn't understand why this happens!

from hypernets_tools.

corizzi avatar corizzi commented on July 26, 2024 1

Well done!
Thanks

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024

Before I downgrade python to 3.8.5, I re-run the 02_install_boost.sh, but still, it had the issue with serial. I reinstall serial using pip but couldn't find Serial from serial.

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024

After uninstalling serial and installing pyserial, still encountering this error:
ImportError: cannot import name 'Serial' from 'serial' (unknown location)

during reinstalling dependencies :
WARNING: Skipping serial as it is not installed.

from hypernets_tools.

corizzi avatar corizzi commented on July 26, 2024

pip --version ?

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024

pip 21.0

should I downgrade it ?

from hypernets_tools.

corizzi avatar corizzi commented on July 26, 2024

What about pip show pyserial please?

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024

Name: pyserial
Version: 3.4
Summary: Python Serial Port Extension
Home-page: https://github.com/pyserial/pyserial
Author: Chris Liechti
Author-email: [email protected]
License: BSD
Location: /home/gfz/.local/lib/python3.8/site-packages
Requires:
Required-by: pyftdi

from hypernets_tools.

corizzi avatar corizzi commented on July 26, 2024

Seems good, are you sure that python command binds to python3.8 ?
python -V

from hypernets_tools.

saberioon avatar saberioon commented on July 26, 2024

It seems python commands binds to python3.8, but to be sure I ran ln -sf /usr/bin/python3.8 /usr/bin/python3, but still it couldn't find serial

Python 3.8.5

from hypernets_tools.

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.