Comments (9)
Hi,
Take a look at this two links adding a init file and what to put on the init file
I added $ __init__.py$ files to their folders, and to use the dot notation I wrote
`` `from .implementation import * ``` on the init file of the folder funsearch.
From outside of the folder funsearch I can do:
from funsearch.implementation import programs_database_test as test
and it gives me no problem.
Also, I renamed the funsearch.py file to fun_search.py (but this may not be necessary).
I originally solved it here in this post
from funsearch.
@psikosen did you also try what @HJ9412 suggested?
@pwnedzen this is a slightly different error message. Can you try what @HJ9412 suggested?
from funsearch.
@Rubiel1 I really appreciate your help. I tried this and I am still running into the same issues . Could you possibly send me or upload the repo with your changes if possible ?
from funsearch.
Just to confirm:
- you added two init files, one on the implementation folder (and the file was empty), and
- one on the funsearch folder (and the file contains the line
from .implementation import *
). - And you modified the name of the file funsearch.py to fun_search.py
And you still got the exactly same error
from funsearch.
Just to confirm:
- you added two init files, one on the implementation folder (and the file was empty), and
- one on the funsearch folder (and the file contains the line
from .implementation import *
).- And you modified the name of the file funsearch.py to fun_search.py
And you still got the exactly same error
I can confirm, I still get the same error
from funsearch.implementation import code_manipulation
ModuleNotFoundError: No module named 'funsearch'
from funsearch.
Move your funsearch folder to the implementation folder.
Or you may copy everything in the implementation folder to one step up.
from funsearch.
@Rubiel1 Yes, after doing all of that, I still get the same error.
from funsearch.
@Rubiel1 Thanks I got it !
from funsearch.
@psikosen did you also try what @HJ9412 suggested?
@pwnedzen this is a slightly different error message. Can you try what @HJ9412 suggested?
I just tried what @HJ9412 suggested, and it is now working. Thanks @Rubiel1 and @HJ9412!
from funsearch.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funsearch.