Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cannot even run the examples from the Notebook , having this error : AttributeError: 'DataFrame' object has no attribute 'crs' #88

Open
chrkarg opened this issue Jun 21, 2022 · 10 comments

Comments

@chrkarg
Copy link

chrkarg commented Jun 21, 2022

Look around but couldnt figure out what the issue might be. Has anyone have any idea what is the problem and how to fix it??

Thanks!

@barneygovan
Copy link

It's because it's pinned to an old version of osmnx which no longer works.

pip install osmnx==1.2.1

fixed this for me.

@chrkarg
Copy link
Author

chrkarg commented Jun 22, 2022

Thanks for your fast response mate. Just gave this a try and still have the same issue though :(

@larsschwarz
Copy link

Upgrading osmnx from 1.0.1 to 1.2.1 did fix it for me, too

@albusdemens
Copy link

I had the same issue on OSX and I could not fix it. Everything worked fine once I switched to Ubuntu (osmnx: 1.0.1).

@MauritsDescamps
Copy link

Upgrading to osmnx: 1.2.1 on OSX fixed it for me.

@sudhamsugurijala
Copy link

sudhamsugurijala commented Jul 8, 2022

It's because it's pinned to an old version of osmnx which no longer works.

pip install osmnx==1.2.1

fixed this for me.

This worked for me on windows 10 💙

@vincenzocassaro
Copy link

it give me this error

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
prettymaps 0.1.3 requires osmnx==1.0.1, but you have osmnx 1.2.1 which is incompatible.

@Tseing
Copy link

Tseing commented Aug 12, 2022

it give me this error

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. prettymaps 0.1.3 requires osmnx==1.0.1, but you have osmnx 1.2.1 which is incompatible.

I met the same problem. But it also gave me this info Successfully installed osmnx-1.2.1. I tried to generate example picture and it worked normally. So you can ignore this error info :)

@archoak
Copy link

archoak commented Aug 12, 2022

it give me this error
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. prettymaps 0.1.3 requires osmnx==1.0.1, but you have osmnx 1.2.1 which is incompatible.

I met the same problem. But it also gave me this info Successfully installed osmnx-1.2.1. I tried to generate example picture and it worked normally. So you can ignore this error info :)

exactly

@Pranav4399
Copy link

I'm trying to host the prettymaps code in github actions but I'm not able to install both prettymaps and osmnx if I change the version of osmnx from 1.0.1 to 1.2.1. I'm getting the error shown below. If I try to use the 1.0.1 version itself, the crs error is popping up. Any help would be greatly appreciated.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants