question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tiles AttributeError

See original GitHub issue

Hello and congratulations on your excellent work!

I have a problem using tiles algorithm. Actually I try your example `from cdlib import algorithms import dynetx as dn import networkx as nx

dg = dn.DynGraph() for x in range(10): g = nx.erdos_renyi_graph(200, 0.05) dg.add_interactions_from(list(g.edges()), t=x) coms = algorithms.tiles(dg, 2)`

and get: coms = algorithms.tiles(dg, 2) AttributeError: module ‘cdlib.algorithms’ has no attribute ‘tiles’

Why is that so? Thanks in advance.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Yquetzalcommented, Jan 27, 2021

Just in case, install from the repository means using pip install git+https://github.com/GiulioRossetti/cdlib.git

1reaction
GiulioRossetticommented, Jan 27, 2021

Hi, I assume you have the library installed through pip: currently tiles is among the algorithms supported only in the github master branch version. It will be included in officially in the next package release.

If you would like to use it just uninstall cdlib and reinstall it from the repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'Tiles' object has no attribute '_transforms' #4645
Recently when running a notebook, we have started to get an error. When I use the full production example, the issue seems to...
Read more >
builtins.AttributeError: 'module' object has no attribute 'one_tile'
I recommend to add an .image attribute and .visible attribute to the class Tile . Each tile knows the associated image and has...
Read more >
'NoneType' object has no attribute 'update'? : r/pygame - Reddit
How to fix AttributeError: 'NoneType' object has no attribute 'update'? ... You declare self.tiles as None, therefore, there's no attribute called ...
Read more >
GDAL3 gdal2tiles AttributeError: 'SpatialReference' object has ...
12 This tiles are created, but throws the error below. The created tiles have the wrong numbering, so the spatialReference is still faulty....
Read more >
Using map tiles with a gridspace - HoloViz Discourse
Everything works well, until I try to add the tiles underneath. I'm getting the error AttributeError: unexpected attribute 'source' to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found