roboflow / notebooks

Examples and tutorials on using SOTA computer vision models and techniques. Learn everything from old-school ResNet, through YOLO and object-detection transformers like DETR, to the latest models like Grounding DINO and SAM.
https://roboflow.com/models
5.09k stars 788 forks source link

Permission error while importing the library #66

Closed rudro12356 closed 1 year ago

rudro12356 commented 1 year ago

I'm trying to import the roboflow library but am getting:

PermissionError Traceback (most recent call last) Cell In[46], line 1 ----> 1 from roboflow import Roboflow 3 # this is from the roboflow public dataset - they have all sort of datasets to work with Yolov5 4 # so we went with it to make our work easier

File :991, in _find_andload(name, import)

File :971, in _find_and_loadunlocked(name, import)

File :914, in _find_spec(name, path, target)

File :1407, in find_spec(cls, fullname, path, target)

File :1376, in _get_spec(cls, fullname, path, target)

File :1340, in _path_importer_cache(cls, path)

PermissionError: [Errno 1] Operation not permitted

I'm using a M2 Pro MACBOOK with pytorch environment managed by anaconda. I found this: roboflow 0.2.29 pypi_0 pypi

Thanks!

github-actions[bot] commented 1 year ago

👋 Hello @rudro12356, thank you for leaving an issue on Roboflow Notebooks.

🐞 Bug reports

If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our Contributing Guidelines.

If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the Roboflow Forum or on the GitHub Discussions page associated with this repository.

💬 Get in touch

Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the Roboflow Discuss forum. Our developer advocates and community team actively respond to questions there.

To ask questions about Notebooks, head over to the GitHub Discussions section of this repository.

SkalskiP commented 1 year ago

Hi, @rudro12356 👋🏻 !

I'm sorry for the late reply, that was a busy week. Is that happening when you try to import roboflow pip package?

rudro12356 commented 1 year ago

Hi, @rudro12356 👋🏻 !

I'm sorry for the late reply, that was a busy week. Is that happening when you try to import roboflow pip package?

Yes.

SkalskiP commented 1 year ago

@rudro12356 is this the full stack trace? The part that you pasted is from some library but not directly from roboflow

rudro12356 commented 1 year ago

@rudro12356 is this the full stack trace? The part that you pasted is from some library but not directly from roboflow

Hello. Extremely sorry for replying late. Got busy with school. I just tried it now and the dataset was downloadable. Thanks!

rudro12356 commented 1 year ago

@rudro12356 is this the full stack trace? The part that you pasted is from some library but not directly from roboflow

Hello. Extremely sorry for replying late. Got busy with school. I just tried it now and the dataset was downloadable. Thanks!

SkalskiP commented 1 year ago

Hi, @rudro12356 👋🏻! I'm super happy to hear that.