GithubHelp home page GithubHelp logo

missing a library about deepnet HOT 6 CLOSED

nitishsrivastava avatar nitishsrivastava commented on June 15, 2024
missing a library

from deepnet.

Comments (6)

nitishsrivastava avatar nitishsrivastava commented on June 15, 2024

Is deepnet on your PYTHONPATH?

from deepnet.

meysam9323 avatar meysam9323 commented on June 15, 2024

Just added the path and works fine now!
thanks.

from deepnet.

iBM88 avatar iBM88 commented on June 15, 2024

I have the same issue; I added deepnet to PYTHONPATH as:
export PYTHONPATH=$PYTHONPATH:$HOME/deepnet
I checked it by:
echo $PYTHONPATH
and
for p in sys.path: print p
But when I run
python setup_examples.py
I still get the same error:
Traceback (most recent call last):
File "setup_examples.py", line 2, in
from deepnet import util
ImportError: No module named deepnet

Any suggestions?

from deepnet.

theoryno3 avatar theoryno3 commented on June 15, 2024

You'll need to place deepnet's parent folder in the PYTHONPATH. In your
case, place it not in your home folder, but something like
$HOME/libraries/deepnet. Then append "$ HOME/libraries" to your PYTHONPATH.
On Apr 5, 2014 7:54 PM, "iBM88" [email protected] wrote:

I have the same issue; I added deepnet to PYTHONPATH as:
export PYTHONPATH=$PYTHONPATH:$HOME/deepnet
I checked it by:
echo $PYTHONPATH
and
for p in sys.path: print p
But when I run
python setup_examples.py
I still get the same error:
Traceback (most recent call last):
File "setup_examples.py", line 2, in
from deepnet import util
ImportError: No module named deepnet

Any suggestions?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-39657080
.

from deepnet.

iBM88 avatar iBM88 commented on June 15, 2024

Thanks, this seems working.

from deepnet.

PhoenixLuo2 avatar PhoenixLuo2 commented on June 15, 2024

hi everyone,I have the same issue,i refer to the answer that edit the PYTHONPATH as fellow:

for deepnet

export PYTHONPATH=/home/llx/codes/deepnet
export PYTHONPATH=/home/llx/codes/deepnet/deepnet
export PYTHONPATH=${PYTHONPATH}:/home/llx/codes/deepnet/cudamat
export PATH=$PATH:/home/llx/codes/deepnet/cudamat
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/llx/codes/deepnet/cudamat

unfortunately,issue still remain,Any suggestions?

from deepnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.