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

Error - with os.scandir(src) as itr: #11

Open
sandyrs9421 opened this issue Jun 8, 2023 · 5 comments
Open

Error - with os.scandir(src) as itr: #11

sandyrs9421 opened this issue Jun 8, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@sandyrs9421
Copy link

Hello All ,

I am seeing below error when i run the python file. can anyone please share the next resolution steps for this ?

Error -
File "/usr/local/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 559, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/FBT/Desktop/Projects/pautobot/pautobot/pautobot/frontend-dist'

@vietanhdev
Copy link
Member

@sandyrs9421 Please describe the steps you've used to install and run the package. Thank you!

@vietanhdev vietanhdev added the bug Something isn't working label Jun 8, 2023
@sandyrs9421
Copy link
Author

@vietanhdev - i have followed the below MAC install steps -
post all the install steps when i run the python file i am seeing the. above error.

Mac Running Intel
When running a Mac with Intel hardware (not M1), you may run into clang: error: the clang compiler does not support '-march=native' during pip install.
If so set your archflags during pip install. eg: ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt

@vietanhdev
Copy link
Member

@sandyrs9421 Please upgrade your package and run it again:

pip install --upgrade pautobot
pautobot

@vietanhdev
Copy link
Member

@sandyrs9421 Hi Sandyrs!
I think version 0.0.24 will solve your problem.

pip install --upgrade pautobot
pautobot --version
pautobot

@sandyrs9421
Copy link
Author

thanks for the steps i do not see the error now. let me try to ingest one of the pdf and try now .
will get back to you on how it goes.

thanks a lot again @vietanhdev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants